Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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.