Moving Resources in Terraform State - podcast episode cover

Moving Resources in Terraform State

Nov 11, 202014 minSeason 1Ep. 151
--:--
--:--
Listen in podcast apps:

Episode description

Terraform keeps it's view of the world in a state data, but what if you need to make changes to your configuration without impacting the real-world resources? Enter the mighty 'terraform state mv' command enabling you to do wonderous things like:

  • Change the address of a      resource in your config
  • Move resources into a module
  • Move resources into a new      state file and config

Shout out to VamsiB for suggesting this as a topic!

You can find my Pluralsight courses here: https://app.pluralsight.com/profile/author/edward-bellavance

And you can always find the example files here: https://github.com/ned1313/terraform-tuesdays

And, and you can find my Terraform certification guide here: https://leanpub.com/terraform-certified/

Moving Resources in Terraform State | Daily Check-In with Ned1313 podcast - Listen or read transcript on Metacast