Allow to specify range specification instead of fixed version

That allows to install for example the latest bug-fix version of
terraform 1.12.* even if 1.13 is already installed.
This commit is contained in:
Matthew Sanabria 2020-06-18 20:06:47 -04:00 committed by Jarek Potiuk
parent e255dfd077
commit 63045f904c
5 changed files with 348 additions and 51 deletions

View file

@ -10,7 +10,7 @@ inputs:
description: 'The API token for a Terraform Cloud/Enterprise instance to place within the credentials block of the Terraform CLI configuration file.'
required: false
terraform_version:
description: 'The version of Terraform CLI to install. A value of `latest` will install the latest version of Terraform CLI. Defaults to `latest`.'
description: 'The version of Terraform CLI to install. Instead of full version string you can also specify constraint string starting with "<" (for example `<1.13.0`) to install the latest version satisfying the constraint. A value of `latest` will install the latest version of Terraform CLI. Defaults to `latest`.'
default: 'latest'
required: false
terraform_wrapper: