Skip to main content
πŸ”’ Preview mode. The first 15 Foundations lessons are free; this one is Pro. Start a 7-day trial to unlock the editor, AI hints and the rest of the curriculum. Card required, cancel any time in Dashboard.Start 7-day trial β†’
⚑
← Coursesβ€ΊDevOps for Python servicesModule 1 Β· Docker & Containersβ€ΊInfrastructure as Code (Terraform)predict6 / 104
+100 XP
Task
πŸ“ **Task:** Predict the final summary line `terraform plan` prints for the scenario above. πŸ“‹ Implement the function above. Tests run automatically. πŸ’‘ **Hint:** Re-read the theory if you get stuck.
Predict the output

Read the code carefully

# 1 brand-new resource (log group)
# 1 attribute swap (runtime python3.11 -> 3.12) is in-place
# 1 resource dropped from HCL (IAM role) -> destroy
print("Plan: 1 to add, 1 to change, 1 to destroy.")

What will the program print? Write here: