Open zucchinidev opened 2 years ago
Voting for Prioritization
Volunteering to Work on This Issue
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.
If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!
Terraform Core Version
1.3.1
AWS Provider Version
4.33.0
Affected Resource(s)
aws_db_instance
Expected Behavior
Establishing a null value in the
backup_window
property configures the backup window with the default value associated with the region.When creating a database with automated backups enabled, that is to say, setting the
backup_retention_period
property with a value between 0 and 35, AWS establish a default backup_window value depending on the region if the value is unset. See https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow. Once we set this value and we want to return to the default value, that is to say, setting the null value, the backup window must be associated with the default values related to the region.Actual Behavior
Establishing a null value in the backup_window property does not work.
When creating a database with automated backups enabled, that is to say, setting the
backup_retention_period
property with a value between 0 and 35, AWS establish a default backup_window value depending on the region if the value is unset. See https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow. Once we set this value and we want to return to the default value, that is to say, setting the null value, the operation has no effect, and the previously set value continues as the value selected in the console.Several tests were realised, as well as some initial analysis:
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No response