Skip to content

kostia-official/tf-state-mover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Konstantin Zvonilov
Dec 6, 2017
f59370c · Dec 6, 2017

History

1 Commit
Dec 6, 2017
Dec 6, 2017
Dec 6, 2017
Dec 6, 2017
Dec 6, 2017
Dec 6, 2017

Repository files navigation

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

About

Interactive CLI for moving resources in a Terraform state.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published