-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: set snapshot identifier and backup retention period to null
to default to AWS provider settings
#314
fix: set snapshot identifier and backup retention period to null
to default to AWS provider settings
#314
Conversation
… default to AWS provider settings
…o fix/snapshot-and-backup-retention
…raform-aws-rds into fix/snapshot-and-backup-retention
@@ -101,7 +101,7 @@ module "db" { | |||
parameters = [ | |||
{ | |||
name = "autovacuum" | |||
value = true | |||
value = 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true
works but on each subsequent plan/apply, terraform wants to change this to 1
so just setting to 1
to avoid this
Thanks, @bryantbiggs ! This one issue was rather long and painful for many users. v2.29.0 has been just released. |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
terraform-aws-rds-aurora
module using the random provider. ifskip_final_snapshot = false
(default - matches AWS provider default) then users can either continue to use the existingfinal_snapshot_identifier
variable if they chose, or remove/leavenull
(default) and a unique final snapshot identifier will be created for themnull
to default to AWS provider settings which should result in a retention period of 7 daysdb_instance
sub-module (parameters were set on default instance, but not on mssql instance:ca_cert_identifier
delete_automated_backups
performances_insights_kms_key_id
Motivation and Context
terraform-aws-rds-aurora
; avoid name conflicts on final snapshot identifiersCloses #90
Closes #91
Closes #249
Breaking Changes
master
and the diffs shown are against the changes in this PR. these are in-place updates and safe to perform (most users will see the final snapshot identifier being removed if they are skipping the final snapshot since the identifier is not required in that circumstance).Diff from
master
to this PR forexamples/complete-postgresql
:Diff from
master
to this PR forexamples/complete-mssql
:How Has This Been Tested?
examples/*
projectsexamples/complete-mssql
andexamples/complete-postgresql
as defined in currentmaster
branchterraform plan
and inspect output (copy+pasted above)terraform apply
and validate changes are as desired