4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
search: tag:terraform tag:workspace — newest first
  • How to change the name of a workspace - #2 by apparentlymart - Terraform - HashiCorp Discuss
     terraform workspace select old-name
        terraform state pull >old-name.tfstate
        terraform workspace new new-name
        terraform state push old-name.tfstate
        terraform show just to confirm that the newly-imported state looks "right", before we delete the old workspace
        terraform workspace delete -force old-name
    
    July 13, 2022 - permalink - https://discuss.hashicorp.com/t/how-to-change-the-name-of-a-workspace/24010/2
    rename terraform workspace