You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Terraform recently released version 1.8.2, which changes the way terraform packages its binary led to it being incompatible with atlantis's --tf-download functionality. We worked around this by explicitly ignoring version 1.8.2 (#4474). More information here: #35075.
The recommendation from the TF Core maintainer was to use a hashicorp tool called hc-install: hashicorp/terraform#35075 (comment). This seems in general more robust than what Atlantis is currently doing, and is worth investigating.
Describe the solution you'd like
Investigate the possibility of using hc-install to download and install terraform.
Describe the drawbacks of your solution
I haven't thought about this too much yet, just wanted to open this up for discussion.
Describe alternatives you've considered
We could continue to manually download and install, including extracting the binary more explicitly (#4478).
The text was updated successfully, but these errors were encountered:
Hey! Yeah I've opened up a WIP PR to default URL downloads to hc-install - #4494
(custom URL downloads are a little different, explained in PR description)
If anyone has any opions/views/concerns or want to discuss it more please let me know! I replied to a comment in the PR already and started filling in the PR description to make the current logic vs proposed changes easier to understand.
Community Note
Describe the user story
Terraform recently released version 1.8.2, which changes the way terraform packages its binary led to it being incompatible with atlantis's
--tf-download
functionality. We worked around this by explicitly ignoring version 1.8.2 (#4474). More information here: #35075.The recommendation from the TF Core maintainer was to use a hashicorp tool called hc-install: hashicorp/terraform#35075 (comment). This seems in general more robust than what Atlantis is currently doing, and is worth investigating.
Describe the solution you'd like
Investigate the possibility of using hc-install to download and install terraform.
Describe the drawbacks of your solution
I haven't thought about this too much yet, just wanted to open this up for discussion.
Describe alternatives you've considered
We could continue to manually download and install, including extracting the binary more explicitly (#4478).
The text was updated successfully, but these errors were encountered: