Interview Prep/Terraform/Rapid-Fire Commands

Apply a saved plan and inspect it as JSON first?

BeginnerProductionRapid-Fire Commands
Answer
terraform show -json tfplan | jq '.resource_changes[] | {addr:.address, actions:.change.actions}'
terraform apply tfplan

Applying a plan file never prompts.

All Terraform questions

More on Rapid-Fire Commands