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
Summary: Pre download terraform cli to Jenkins and use
TF_ACC_TERRAFORM_PATH
to prevent disk space issuesThe 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