Crates.io | tfocus |
lib.rs | tfocus |
version | |
source | src |
created_at | 2024-12-02 03:26:00.134614 |
updated_at | 2024-12-02 03:26:00.134614 |
description | Terminal UI for Terraform workspace management |
homepage | https://github.com/nwiizo/tfocus |
repository | https://github.com/nwiizo/tfocus |
max_upload_size | |
id | 1468178 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
โ ๏ธ 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.
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