Your goal
Make a pull request independently reviewable before any Azure mutation, then deploy from the merged and revalidated configuration.
Exercise 14 ยท 60 minutes
Prepare a focused Terraform change, communicate its plan and operational impact in a pull request, respond to review, and deploy the approved result manually.
Before you start
Make a pull request independently reviewable before any Azure mutation, then deploy from the merged and revalidated configuration.
mainParticipant task
Create lab/review-change. Add one approved tag through the module interface and one validation rule that protects the naming convention.
git switch -c lab/review-changeFormat, validate, and save a plan. Summarize the actions and affected resource addresses. Do not commit the binary plan or raw state.
terraform fmt -check -recursive
terraform validate
terraform plan -out main.tfplan
terraform show -no-color main.tfplanDescribe intent, plan summary, security impact, expected cost, rollback, verification, and cleanup. Link the requirement and request a reviewer.
Check resource addresses, replacements, unknown values, permissions, tags, state implications, and whether the proposed verification proves the requirement. Leave one question or actionable observation.
After approval, merge the pull request, update local main, and create a fresh saved plan. Confirm it matches the reviewed intent before applying and verifying Azure.
git switch main
git pull
terraform plan -out main.tfplan
terraform apply main.tfplanExpected outcome
Write a repository pull-request template that prompts for plan summary, cost, security, verification, and cleanup without embedding sensitive plan output.
Finish
Delete local plan files and confirm the merged branch is clean. Keep the resources for the final operations exercise.