terraform-plan
Verified for current stable LTS
Terraform Plan Command: Focus On Specific Resources
Use for focus on specific resources with Terraform Plan. Exact CLI syntax to focus on specific resources using Terraform Plan.
When to use this: Use for focus on specific resources with Terraform Plan.
Command Syntax
terraform plan -target <resource_type.resource_name[instance_index]> terraform plan -target <resource_type.resource_name[instance_index]> Command Breakdown
-target- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to focus on specific resources 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: Generate Execution Plan Current Directory
terraform plan Terraform Plan Command: Output Plan As Json terraform plan -json 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>'