terraform-plan
Verified for current stable LTS
Terraform Plan Command: Output Plan As Json
Use for output plan as json with Terraform Plan. Exact CLI syntax to output plan as json using Terraform Plan.
When to use this: Use for output plan as json with Terraform Plan.
Command Syntax
terraform plan -json terraform plan -json Live Command Builder
Final Command
terraform plan -json Command Breakdown
-json- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to output plan as json using Terraform Plan.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Terraform Plan Command: Focus On Specific Resources
terraform plan -target <resource_type.resource_name[instance_index]> Terraform Plan Command: Generate Execution Plan Current Directory terraform plan Terraform Plan Command: Show Plan Destroy All Objects terraform plan -destroy Terraform Plan Command: Show Plan Refresh Only terraform plan -refresh-only Terraform Plan Command: Specify Input Variable Values terraform plan -var '<name1>=<value1>' -var '<name2>=<value2>'