Skip to content

seboudry/tf-state-mover

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Languages

  • JavaScript 100.0%