mirror of
https://github.com/hashicorp/setup-terraform.git
synced 2025-12-16 08:32:34 +00:00
Improve terraform_version docs (#58)
Fix a documented constraint -- `~0.13` will only install 0.13.0, while `~0.13.0` will install the latest 0.13 release. And mention that prerelease versions cannot be installed with this action.
This commit is contained in:
parent
d22444889a
commit
4c5048fbaf
1 changed files with 3 additions and 3 deletions
|
|
@ -146,9 +146,9 @@ The action supports the following inputs:
|
||||||
|
|
||||||
- `terraform_version` - (optional) The version of Terraform CLI to install. Instead of a full version string,
|
- `terraform_version` - (optional) The version of Terraform CLI to install. Instead of a full version string,
|
||||||
you can also specify a constraint string (see [Semver Ranges](https://www.npmjs.com/package/semver#ranges)
|
you can also specify a constraint string (see [Semver Ranges](https://www.npmjs.com/package/semver#ranges)
|
||||||
for available range specifications). Examples are: `<0.13.0`, `~0.12`, `0.12.x` (all three installing
|
for available range specifications). Examples are: `<0.14.0`, `~0.13.0`, `0.13.x` (all three installing
|
||||||
the latest available 0.12 version). The special value of `latest` installs the latest version of
|
the latest available 0.13 version). Prerelease versions are always ignored. The special value of `latest`
|
||||||
Terraform CLI. Defaults to `latest`.
|
installs the latest version of Terraform CLI. Defaults to `latest`.
|
||||||
|
|
||||||
- `terraform_wrapper` - (optional) Whether to install a wrapper to wrap subsequent calls of
|
- `terraform_wrapper` - (optional) Whether to install a wrapper to wrap subsequent calls of
|
||||||
the `terraform` binary and expose its STDOUT, STDERR, and exit code as outputs
|
the `terraform` binary and expose its STDOUT, STDERR, and exit code as outputs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue