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

[Bug] - Terminating existing database EBS volume on updating database AMI through terraform #672

Open
somnathpawar opened this issue Dec 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@somnathpawar
Copy link

Describe the bug
I am using current Terraform IaC code provided on https://github.com/kasmtech/terraform/blob/develop/aws/multi_region/README.md. It creates the database container and other resources on applying the code on AWS. The issues is, when I tried changing AMI for db instance, it seems deleting the root volume too. So all the configuration I created through admin portal are getting vanished. Shouldn't the db volume retained while upgrade and attach to the new replacement instance?

To Reproduce
Steps to reproduce the behavior:

  1. Apply Terraform Iac Code https://github.com/kasmtech/terraform/tree/develop/aws/multi_region
  2. Once set up is done, try changing the AMI of DB instance
  3. It will terminate the old instance and create new one. But it will also delete the EBS volume and all the earlier configuration done in the portal.

Expected behavior
DB volume should be retained and attached to the new replaced instance so configuration and all the data will be there.

Workspaces Version
e.g Version 1.16.1

Workspaces Installation Method
e.g Multi-region, Multi-Server, terraform

@somnathpawar somnathpawar added the bug Something isn't working label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant