tfmv

1.0.6 • Public • Published

Terraform state move helper

Interactive CLI for moving resources in a Terraform state.

Motivation

Sometimes you need to refactor your config. Move resources to the separate module, rename a resource, etc. Terraform will plan to recreate resources in this case. You can use command terraform state mv to prevent this. But it can be pretty routine. This tool helps you easily do this. Just select from the list source resource, then destination, press enter, repeat.

How to use

npm i -g tfmv
tfmv

Example

Example of working

Readme

Keywords

Package Sidebar

Install

npm i tfmv

Weekly Downloads

7

Version

1.0.6

License

ISC

Last publish

Collaborators

  • kozzztya