0
0
Terraformcloud~5 mins

Plan output reading in Terraform - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does the 'terraform plan' command do?
It shows what changes Terraform will make to your infrastructure without applying them. Think of it like a preview before you make changes.
Click to reveal answer
beginner
What information can you find in the output of 'terraform plan'?
You can see which resources will be added, changed, or destroyed. It tells you exactly what Terraform plans to do.
Click to reveal answer
beginner
In Terraform plan output, what does a line starting with '+' mean?
It means a resource will be created (added). The '+' sign shows new resources.
Click to reveal answer
beginner
What does a line starting with '-' indicate in Terraform plan output?
It means a resource will be destroyed (removed). The '-' sign shows resources that will be deleted.
Click to reveal answer
beginner
Why is reading the Terraform plan output important before applying changes?
Because it helps you avoid mistakes by showing what will happen. You can catch unwanted deletions or changes before they happen.
Click to reveal answer
What does the '+' symbol mean in Terraform plan output?
ANo change to resource
BResource will be destroyed
CResource will be updated
DResource will be created
Which command shows the planned changes without applying them?
Aterraform plan
Bterraform init
Cterraform destroy
Dterraform apply
If you see a '-' sign next to a resource in the plan output, what does it mean?
AResource will be unchanged
BResource will be created
CResource will be destroyed
DResource will be renamed
Why should you always read the plan output before applying?
ATo check for syntax errors
BTo preview changes and avoid mistakes
CTo speed up deployment
DTo update Terraform version
What does Terraform show if a resource will be changed but not created or destroyed?
A~
B-
C+
D!
Explain how to interpret the symbols '+' , '-' , and '~' in Terraform plan output.
Think of these symbols as signs showing what Terraform will do to each resource.
You got /3 concepts.
    Describe why it is important to review the Terraform plan output before running 'terraform apply'.
    It's like checking your work before pressing 'send' or 'submit'.
    You got /3 concepts.