Migrate Terraform workspace

terraform init -backend-config=backend/common.hcl
terraform workspace list
terraform state list
terraform state pull > default.statefs
terraform workspace create test
terraform state push default.statefs
terraform state list
terraform workspace select default
terraform state rm <resources>
pre_build:commands:- echo Entered the pre_build phase...- cd $TF_DIR- terraform init -backend-config=backend/common.hcl --upgrade- terraform workspace select $STAGE || terraform workspace new $STAGE

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store