tf_plan
Preview infrastructure changes by running a terraform plan. Provides a human-readable diff with no changes to infrastructure.
Instructions
Run terraform plan and return a human-readable diff of what will change. Safe — makes no changes to infrastructure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vars | No | Variable overrides in key=value format, e.g. ["region=us-east-1"] | |
| target | No | Limit operation to a specific resource address, e.g. aws_instance.web | |
| varFile | No | Path to a .tfvars or .tfvars.json file | |
| workdir | Yes | Absolute or relative path to the directory containing .tf files | |
| workspace | No | Terraform workspace to use (default: current workspace) | |
| savePlanFile | No | Optional path to save the binary plan file for use with tf_apply |