-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
aws_rds_cluster_parameter_group values not saving and are re-set on every apply #4832
Comments
@bflad When reading the cluster parameters we are using value // Only include user customized parameters as there's hundreds of system/default ones In above example, 1 is the default value for |
We might need to setup some logic for ignoring default parameters and their values so they do not show up as a difference during plan, similar to how we do for Cognito schema attributes. We should always perform the |
Ran into this last week and whipped together a PR (above) using the same approach as was used in hashicorp/terraform#8603; including a new test. |
The fix for |
This has been released in version 1.42.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I have exactly this issue with aws provider 2.53 ... anyone else experiencing that? |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Terraform Version
Terraform v0.11.7
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
After applying the parameter group once, future applies should so show no changes.
Actual Behavior
Terraform always reapplies the settings even if they're already set correctly. Note that the paramters do get set correctly in AWS, but TF thinks they haven't so it applies them again.
Steps to Reproduce
terraform apply
on the above sample.terraform apply
again with no changes.Important Factoids
References
The text was updated successfully, but these errors were encountered: