after upgrading to latest version of atlantis 0.27...
# atlantis-community
s
after upgrading to latest version of atlantis 0.27.2. My bit of custom workflow code stopped working:
Copy code
- run: "source $TFW_WRAPPER_PATH $TFW_GLOBAL_VAR_FILE && terraform init -no-color -input=false"
        - run: "terraform workspace select -no-color $WORKSPACE || terraform workspace new -no-color $WORKSPACE"
where i would source my terraform wrapper, and then use it in the next "run". now with each run command, I now have to reload the terraform wrapper. is there a way around this?
p
terraform now can create the on select if the workspace does not exist
it might be asking you something about the workspace?
Copy code
-or-create=false    Create the Terraform workspace if it doesn't exist.
s
i just joined it on one line. thx pepe. weird this is that i did not upgrade terraform. maybe not worth looking into now if it works 🙂
👍🏽 1