This action installs the tools tfenv and tgenv. The tools are added to the github actions so that they can be used later in github actions. It also uses both tools to install the latest terraform and terragrunt version and configures them as default, so that both can be used in projects that do not require a specific version of those tools.
Optional Specify a specific version of tfenv that should be installed.
Optional Specify a specific version of tgenv that should be installed.
uses: sueddeutsche/gha-tftools@v1
or with specific version:
uses: sueddeutsche/gha-tftools@v1
with:
tfenv-version: '2.2.2'