tfocus
« Back to VersTracker
Description:
Tool for selecting and executing terraform plan/apply on specific resources
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Devops
Tags: terraform devops infrastructure-as-code cli automation
Install: brew install tfocus
About:
Tfocus is a CLI utility designed to streamline Terraform workflows by allowing users to selectively target and execute plan or apply operations on specific resources. It parses Terraform state and configuration to identify resources, enabling developers to focus on changes in large infrastructure projects without affecting the entire stack. This significantly reduces execution time and risk in complex environments.
Key Features:
  • Interactive resource selection
  • Targeted plan and apply execution
  • State parsing and analysis
  • Reduced operation blast radius
Use Cases:
  • Applying changes to a subset of resources in a large Terraform project
  • Debugging specific infrastructure components without running full plans
  • Safely deploying changes in production environments with strict change windows
Alternatives:
  • terraform – Native terraform requires manual -target flags; Tfocus provides interactive selection
  • terragrunt – Terragrunt focuses on state management and DRY; Tfocus focuses on resource-level targeting
Version History
Detected Version Rev Change Commit