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 prendre des décisions importantes
-
https://www.handcramp.lol/Server Side apply VS Client Side apply
via Edwin
-
https://medium.com/swlh/break-down-kubernetes-server-side-apply-5d59f6a14e26