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.
More on Rapid-Fire Commands
Format all files recursively and fail if anything needs formatting?BeginnerList every resource address under one module?BeginnerShow the attributes of one resource in state?BeginnerPlan with a specific var file and write the plan?BeginnerValidate configuration and get machine-readable output?BeginnerForce the replacement of a single resource?Beginner