Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paololazzari/fuzzy-terraform-rm
A fuzzy-finder command-line tool for removing resources from terraform state
https://github.com/paololazzari/fuzzy-terraform-rm
terraform
Last synced: 7 days ago
JSON representation
A fuzzy-finder command-line tool for removing resources from terraform state
- Host: GitHub
- URL: https://github.com/paololazzari/fuzzy-terraform-rm
- Owner: paololazzari
- License: apache-2.0
- Created: 2022-12-11T16:16:54.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-21T16:52:36.000Z (12 months ago)
- Last Synced: 2024-08-02T00:26:34.750Z (3 months ago)
- Topics: terraform
- Language: Go
- Homepage:
- Size: 189 KB
- Stars: 38
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
- jimsghstars - paololazzari/fuzzy-terraform-rm - A fuzzy-finder command-line tool for removing resources from terraform state (Go)
- awesome-tf - fuzzy-terraform-rm - A fuzzy-finder command-line tool for removing resources from terraform state. (Tools / Community providers)
README
# fuzzy-terraform-rm
fuzzy-terraform-rm is a command-line tool for removing resources from the terraform state
![](demo.gif)
It uses the excellent [go-fuzzyfinder](https://github.com/ktr0731/go-fuzzyfinder) library for the fuzzy-finding functionality.
## Installation
```bash
$ git clone https://github.com/paololazzari/fuzzy-terraform-rm
$ cd fuzzy-terraform-rm
$ go build -o /usr/local/bin/
```## Usage
```bash
$ fuzzy-terraform-rm
```N.B. To select multiple resources at once, use the tab key.
## How it works
fuzzy-terraform-rm looks at the terraform source (.tf) files and at the terraform state to determine which resources can be removed.