-
Notifications
You must be signed in to change notification settings - Fork 9.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
aws_db_parameter_group apply_method causing constant diff - pending-reboot -> immediate #18035
Comments
Having the same issue here. During the state refresh, terraform will do some kind of
Here, we can see the ApplyMethod used at the PREVIOUS change of the parameter. In the terraform code, if only the
At the next run, terraform still detect the change. Workaround: change the value of the drifted parameter to reset the ApplyMethod, then revert back to initial value. |
This functionality has been released in v3.55.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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. |
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
This is the specific output related to the parameter group
https://gist.github.com/joshbranham/bd1a5f5c46ac0aef8614e8197e7824fb
Expected Behavior
I changed one parameter in the
custom_database_parameters
and it should only have a diff for that valueActual Behavior
The diff includes most parameters and wants to change the
apply_method
Steps to Reproduce
terraform plan
OR
Important Factoids
This parameter group is imported into this module. A
terraform state rm
and a new import did not render any different result.The most confusing piece to me is where
pending-reboot
is coming from for all thedynamic/immediate
parameter apply_methods?References
The text was updated successfully, but these errors were encountered: