Skip to content
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

changing identifier in RDS (aws_db_instance) will destroy/create the db #11636

Closed
adrianlop opened this issue Feb 2, 2017 · 2 comments
Closed

Comments

@adrianlop
Copy link

Terraform Version

0.8.5

Affected Resource(s)

  • aws_db_instance

Expected Behavior

Using AWS RDS UI you can change the identifier and it won't recreate the database, it will only apply it on the preferred maintenance window/apply immediately if you select it.

image

This change also changes the endpoint, so AWS will give you a warn as expected: Warning! Endpoint will also change.

Actual Behavior

Terraform will destroy + recreate the instance. It should only apply the change in the maintenance window or immediately if you selected apply_immediately=true, not destroy the DB.

Thanks.

@hnarimani
Copy link

Any answer?

@ghost
Copy link

ghost commented Apr 7, 2020

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants