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
-
https://discuss.hashicorp.com/t/how-to-change-the-name-of-a-workspace/24010/2Pour que le second screen ne soit pas statique
Open dconf-editor > org > gnome > shell > overrides
Uncheck the box labeled "workspace-only-on-primary"
I did not even have to restart Gnome, it worked right away.
-
http://ubuntuforums.org/showthread.php?t=1973027