Commit graph

4 commits

Author SHA1 Message Date
Brandon Croft
c9de504a6e
Use $RUNNER_TEMP when TF_CLI_CONFIG_FILE not in use
If you don't specify the TF_CLI_CONFIG_FILE environment variable, the
default config is written to $HOME directory, which could theoretically
be shared by multiple runners when using self-hosted runners.

When TF_CLI_CONFIG_FILE is _not_ in use, I replaced the usage of
$HOME with the directory $RUNNER_TEMP, whose setup/cleanup is
managed by the runner framework and exported a TF_CLI_CONFIG_FILE.
2022-11-08 20:32:12 -07:00
Jonathan Camara
8aaee7fab8
Fix terraform extract (#187)
On Windows runners, extracting the downloaded CLI zip file was failing because the file didn't have a .zip extension. This commit attempts to solve the problem by adding the extension to the downloaded file before extraction.
2022-05-09 13:19:28 -04:00
Jarek Potiuk
af8505ef0a
Allow to specify range specification instead of fixed version (#38)
That allows to install for example the latest bug-fix version of
terraform 1.12.* even if 1.13 is already installed.

Co-authored-by: Matthew Sanabria <24284972+sudomateo@users.noreply.github.com>
2020-09-08 10:18:09 -04:00
Matthew Sanabria
cd5e05ffbf Initial commit 2020-04-25 19:46:30 -04:00