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

Pre download terraform cli to Jenkins and use TF_ACC_TERRAFORM_PATH to prevent disk space issues #283

Conversation

ddelnano
Copy link
Collaborator

@ddelnano ddelnano commented Dec 18, 2023

Summary: Pre download terraform cli to Jenkins and use TF_ACC_TERRAFORM_PATH to prevent disk space issues

The terraform-plugin-sdk has the ability to automatically download a given terraform version when running acceptance tests. This seemed extremely flexible from the beginning, but it causes /tmp to fill up with multiple copies of the same cli (a given version is installed on each test run).

This also opens up the ability to add opentofu builds and will be completed in an upcoming PR.

Test plan: Build should succeed and not run Jenkins out of disk space

@ddelnano ddelnano merged commit aa95f94 into master Dec 19, 2023
3 checks passed
@ddelnano ddelnano deleted the ddelnano/prevent-automatic-terraform-downloads-from-causing-disk-usage-issues branch December 19, 2023 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant