-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expected a single file: /tmp/getter3359610012/archive: Downloading terraform Version 1.8.2 #4472
Comments
upstream issue hashicorp/terraform#35075 |
It looks like this fails because they changed their archive strategy to also include the LICENSE file: https://github.com/hashicorp/terraform/releases/tag/v1.8.2 (see the note at the bottom) |
thanks @gjabell |
Yeah very frustrating on their end 😕 since this is only an issue if the binary is downloaded for the first time and I didn't want to repin all my modules to |
@gjabell |
Yeah depends on your deployment I guess; we are running with a PVC for the data dir so we can restart Atlantis without losing plans. The |
We do the same. |
👋🏻 TF Core maintainer here, who also happened to cut the release with the change that has impacted you. As mentioned above we did call this out in the changelog but broadly speaking did not anticipate this to be a breaking change that would warrant heads up. go-getter, which is a library Atlantis appears to be using to install Terraform currently was not designed for this use case, or even broadly interacting with On a more positive note, we do maintain a library that can aid with installation of HashiCorp products, including Terraform - hc-install and we use it ourselves in a number of places. Atlantis would be welcomed to use it as well. That library does not make assumptions about the archive having just one file. Our enterprise packages (although not relevant for Terraform here specifically) already have multiple files and the API accounts for this too, where the consumers specify a path where the license should be placed. For Terraform CE, the API would let you specify Dir as a path to the directory where the archive gets unpacked, including terraform binary and the license file. What consumers decide to do with those files after the installation would be up to them. The API does not currently make any further assumptions about those files for non-Enterprise versions. I appreciate this may not be as simple as a drop-in replacement but I hope the API along with examples and documentation is self-explanatory. If you have any questions about it or if it doesn't work for you we'd certainly like to hear it in our issue tracker and be more open to making some changes there (as opposed in go-getter). |
This is a duplicate of #4471 Let's move the conversation there |
Community Note
Overview of the Issue
hashi released a new version of terraform, 1.8.2
and now atlantis seems to be failing to pull the binary
Reproduction Steps
atlantis plan
Logs
Environment details
The text was updated successfully, but these errors were encountered: