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
- What IaC scanning catchesDevOps Engineer
- What a Terraform provider isDevOps Engineer
- Resource block vs data blockDevOps Engineer
- What terraform fmt doesDevOps Engineer