| Crates.io | tfocus |
| lib.rs | tfocus |
| version | 0.1.5 |
| created_at | 2024-12-02 03:26:00.134614+00 |
| updated_at | 2025-01-17 02:13:21.973911+00 |
| description | tfocus is a super interactive tool for selecting and executing Terraform plan/apply on specific resources. Think of it as an emergency tool - not for everyday use. |
| homepage | https://github.com/nwiizo/tfocus |
| repository | https://github.com/nwiizo/tfocus |
| max_upload_size | |
| id | 1468178 |
| size | 318,941 |
โ ๏ธ WARNING: Resource targeting should be avoided unless absolutely necessary!
tfocus is a super interactive tool for selecting and executing Terraform plan/apply on specific resources. Think of it as an "emergency tool" - not for everyday use.

install from crates.io
cargo install tfocus
install from github
cargo install --git https://github.com/nwiizo/tfocus
cd your-terraform-project
tfocus
โ/k: Move upโ/j: Move down/: Incremental searchEnter: SelectEsc/Ctrl+C: CancelUsing terraform resource targeting comes with significant risks:
Only use this tool in specific circumstances:
For regular operations, always use full terraform plan and apply!
You might consider using tfocus when:
Remember! Standard terraform plan and apply are the best practices for normal operations.
This is an experimental tool. Use at your own risk!
$ tfocus
QUERY>
โถ 1 [File] main.tf
2 [Module] vpc
3 [Resource] aws_vpc.main
[โ/k]Up [โ/j]Down [Enter]Select [Esc/Ctrl+C]Cancel
Issues and PRs are welcome! Please help make this tool safer and more useful.
MIT
Think of this tool as a "fire exit" - It's there when you need it, but you hope you never have to use it! ๐
made with ๐ฆ and โค๏ธ by nwiizo