Closed alfredo-gil closed 2 years ago
I ran into this same issue. It seemed to work once I added TF_WORKSPACE to my apply step. I think this change caused the issue: https://github.com/runatlantis/atlantis/pull/2006
- env:
name: TF_WORKSPACE
command: echo "${WORKSPACE}"
Many many thanks @jccarte !!! It works like a charm!!
Many many thanks @jccarte !!! It works like a charm!!
Overview of the Issue
I'm trying to update atlantis to the latest version
v0.19.3
but I'm getting the same error starting with the versionv0.18.2
. When I try to doatlantis apply
the apply failed and I get this error:So when the same workflow it works on version
v0.18.1
but starts failing onv0.18.2
and the problem persist on the latest versionv0.19.3
Reproduction Steps
Currently, I'm using a simple terraform code to create an s3 bucket.
terraform version: 1.1.9 providers:
This is the terraform provider block:
Environment details
We pass specific values through environment variables Atlantis server-side config file:
Repo
atlantis.yaml
file:Our custom workflow is this:
Additional Context
We saw that between version
v0.18.1
and versionv0.18.2
thepost workflows
had been introduced.