Rationale for Correct Answer: terraform plan creates and displays an execution plan showing what Terraform would change, add, or destroy to reach the desired state—this is the standard preview step before applying changes.
Analysis of Incorrect Options (Distractors):
A: terraform show displays a human-readable view of an existing state or plan file; it doesn’t compute proposed changes by itself.
C: terraform validate checks configuration syntax and internal consistency, not proposed infrastructure changes.
D: terraform get downloads modules; it doesn’t preview infrastructure changes.
Key Concept: Previewing changes with plan in the Terraform workflow.
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit