hard20 pts · first answer countsterraforminfrastructure-as-code
Refactoring into a module safely
You move aws_db_instance.main into a new module "database". The plan now wants to destroy the old database and create a new one. How do you refactor without recreating it?
Discussion 0
Join free to post in the discussion.
Related questions
- What terraform plan doesDevOps Engineer
- What terraform init doesDevOps Engineer
- Why Terraform keeps stateDevOps Engineer
- Immutable infrastructureDevOps Engineer
- Terraform state in a teamDevOps Engineer
- Console change shows up in planDevOps Engineer
- Bringing an existing bucket under TerraformDevOps Engineer
- Sensitive outputs and stateDevOps Engineer