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: