Choose configuration management and review Terraform changes
A Terraform plan proposes replacing a managed router. The change ticket expected only a description update. What should the reviewer do before allowing apply?
Choose configuration management and review Terraform changes
The Terraform lecture follows the configuration, plan and apply workflow against provider APIs.
Work through the decision
A Terraform plan proposes replacing a managed router. The change ticket expected only a description update. What should the reviewer do before allowing apply?
Check your reasoning
Read the replacement-triggering attribute and check provider requirements, state and live configuration. Correct the proposal, regenerate the plan and approve the reviewed changes. Ansible playbooks can separately manage supported device configuration tasks.
Interpret the evidence
- Terraform plan
- Previews proposed resource creation, updates, replacement or removal for the desired configuration.
- Terraform state
- Maps managed resource addresses to provider objects. Protect access and coordinate concurrent changes.
- Ansible playbook
- A YAML playbook describes tasks for managed hosts using modules and inventory.
- Terraform apply
- Executes reviewed actions to reconcile infrastructure with its desired state.
Practice the guide skills
- Compare an Ansible inventory, playbook and module with a Terraform provider, configuration and state.
- Read a plan that updates one resource and replaces another. Define the review decision, apply scope and post-change verification.
Official objectives for this lesson
Related lesson · Maintain a change record that another operator can use
Choose configuration management and review Terraform changes quiz
Answer 3 questions. Check each answer for an explanation.