-
Notifications
You must be signed in to change notification settings - Fork 9k
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 Aurora RDS wants to re-create after every apply when supplied with a major engine version #4777
Comments
This also seems to happen (atleast with aurora postgres) when you change the minor version from lower to higher instead of pushing an upgrade. |
Support for in-place updates of the The original issue of suppressing the difference of |
Just ran into this issue today. We were use to AWS RDS supporting this and a developer accidentally blew away the database for aurora, because of this bug. |
I've also just ran into this using provider version 2.48.0 while updating to postgres 10.11 from 10.7. Terraform wanted to destroy the nodes and create new so I've just done an in-place upgrade via the console and then updated my tfvars file with the new version. it is true that a MAJOR upgrade is a destroy but a minor can be done in place... |
And confirming this is still a thing. Upgrading from 9.6.9 ==> 9.6.18 using provider 2.70.0. Reverted to using aws api for the upgrade with a 10 second outage. |
Hi all 👋 Thank you for taking the time to file this and for the continued discussion. As of |
I still have this issue with provider |
Hello my friend I am facing the same issue. Have you got any solution. |
This issue was originally opened by @AwkwardBen as hashicorp/terraform#18200. It was migrated here as a result of the provider split. The original body of the issue is below.
Essential when I use
engine_version: "9.6"
the resource get's created ok but after every subsquent terraform apply it will get destroyed and re-created. I have the following module:Which breaks down to the following resources in inside the
acp-tf-rds
module:If instead, I use
engine_version: "9.6.6"
then this issue doesn't occur however with minor updates being enabled inside AWS I would prefer to use9.6
.Terraform Version
Expected Behavior
The expectation is for the resource not be destroyed and created again after each terraform apply. Also especially when changes have nothing to do with the module.
Actual Behavior
Running another terraform apply will re-create the Aurora AWS resources.
Additional Context
Terraform is running within a container
quay.io/ukhomeofficedigital/terraform-toolset:v0.2.1
and get's deployed as part of drone.io pipeline.The text was updated successfully, but these errors were encountered: