Which Terraform version is used? #4580
Unanswered
calebAtIspot
asked this question in
Q&A
Replies: 1 comment 1 reply
-
By default it fetches and uses the latest version that matches your version constraints, so in your case with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I read https://www.runatlantis.io/docs/terraform-versions.html but I'm still not clear on which terraform version is used.
Let's say we have no version specified in atlantis.yaml and terraform code just specifies anything greater than v1. Let's say one is using the official atlantis image with v1.2 of Terraform baked inside it. Would v1.2 be used or would it download v1.8?
I think 1.2 would be used but I want to double-check.
Relevant: https://github.com/runatlantis/atlantis/blob/main/server/core/runtime/run_step_runner.go#L31
Beta Was this translation helpful? Give feedback.
All reactions