-
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
RDS instance got recreated after another apply without any change #17037
Comments
Should we pass DBName to this function? terraform-provider-aws/aws/resource_aws_db_instance.go Lines 893 to 902 in c84391e
|
The same problem just happened to us this morning. We were trying to update a DNS record then out of nowhere it was asking to recreate the whole database. Not sure if this change is from amazon's side causing mismatch with the way tf handles it or there are some glitches in the codes |
These are the logs in our case. Some identifying information has been redacted
|
As per the AWS RDS API and commented in the code accordingly, the terraform-provider-aws/aws/resource_aws_db_instance.go Lines 896 to 905 in 95f94ad
A similar case exists for the attribute This appears to have been raised on the Terraform repository back in the day several times, here amongst other places:
To remove any ambiguity concerning expected behaviour, should the expected behaviour be to throw an error if the attribute
|
Thanks @brent-au |
This has been released in version 3.29.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 for triage. Thanks! |
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 CLI and Terraform AWS Provider Version
Terraform v0.13.5
Affected Resource(s)
Terraform Configuration Files
The output of
terraform plan
:Debug Output
Expected Behavior
RDS instance wouldn't be recreated if no change on tf files
Actual Behavior
RDS instance got recreated after another apply without any change
Steps to Reproduce
terraform apply
terraform apply
without any changeThe text was updated successfully, but these errors were encountered: