What version of Terraform is Atlantis running? #4689
Replies: 1 comment
-
I believe I have answered my down question. I couldn't find the answer to this anywhere. For others that need this, the Terraform version is stored in an environment variable named I created a step that executes the following command...
This produces what I'm after. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have implemented Atlantis v0.28.3.
My Terraform code contains the following version constraint...
When a PR is created Atlantis automatically runs a Terraform plan. The following shows the start of the plan...
...but what version of Terraform is it running? I know what version it 'should' be running (ie. the latest 1.6.x release - 1.6.6. to be specific)...but how can I get the version of Terraform it is using?
I have added the following two 'run' statements to the plan-steps to see if I can see the version being used...
atlantis version
terraform version
...but it doesn't show it. I also couldn't find any environment variables that holds this value.
Am I missing something? Any help would be appreciated?
Many thanks in advance,
Lee
Beta Was this translation helpful? Give feedback.
All reactions