Deployment, Provisioning, and Automation
A team uses Terraform to manage AWS resources. An operator must review proposed resource changes before making any changes to AWS. What should the operator do?
Show the answer
Correct answerA. Generate a Terraform execution plan.
AWhy this is right: An execution plan previews the changes Terraform proposes without modifying AWS resources.
BWhy not this: A CloudFormation change set previews changes to a CloudFormation stack, not Terraform-managed resources.
CWhy not this: Validation checks configuration syntax and internal consistency but does not preview resource changes.
DWhy not this: A refresh-only apply updates Terraform state to reflect remote objects rather than previewing configuration changes.
A Terraform execution plan shows proposed resource changes without applying them. Validation checks configuration syntax and internal consistency, not the changes needed in AWS.