Daily Check-In with Ned1313

Moving Resources in Terraform State


Listen Later

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/

    ...more
    View all episodesView all episodes
    Download on the App Store

    Daily Check-In with Ned1313By Ned Bellavance

    • 5
    • 5
    • 5
    • 5
    • 5

    5

    3 ratings