Skip to content
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

Terraform 1.8.2 ships additional file within tarball #414

Closed
MatrixCrawler opened this issue Apr 26, 2024 Discussed in #411 · 0 comments · Fixed by #433
Closed

Terraform 1.8.2 ships additional file within tarball #414

MatrixCrawler opened this issue Apr 26, 2024 Discussed in #411 · 0 comments · Fixed by #433
Assignees
Labels
enhancement Refactor existing code for better performance and quality
Milestone

Comments

@MatrixCrawler
Copy link
Collaborator

MatrixCrawler commented Apr 26, 2024

Discussed in #411

Originally posted by yermulnik April 26, 2024
Should we be taking care of this (e.g. to not vomit .terraform.versions dir with arbitrary file)?

https://github.com/hashicorp/terraform/releases/tag/v1.8.2
NOTE:

Starting with this release, we are including a copy of our license file in all packaged versions of our releases, such as the release .zip files. If you are consuming these files directly and would prefer to extract the one terraform file instead of extracting everything, you need to add an extra argument specifying the file to extract, like this:

unzip terraform_1.8.2_linux_amd64.zip terraform

We should make sure, that only the terraform binary is extracted from the archive.

@MatrixCrawler MatrixCrawler added the enhancement Refactor existing code for better performance and quality label Apr 26, 2024
@MatrixCrawler MatrixCrawler added this to the Release 1.2.0 milestone Apr 26, 2024
@MatthewJohn MatthewJohn self-assigned this May 24, 2024
MatthewJohn added a commit that referenced this issue May 24, 2024
Update tests to ensure only terraform file is extracted
Add 'terraform' file, along with 'README' and 'LICENSE' fiel to test-data.zip

Issue #414
MatrixCrawler pushed a commit that referenced this issue May 24, 2024
Update tests to ensure only terraform file is extracted
Add 'terraform' file, along with 'README' and 'LICENSE' fiel to test-data.zip

Issue #414
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Refactor existing code for better performance and quality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants