mirror of
https://github.com/hashicorp/setup-terraform.git
synced 2025-12-27 13:33:37 +00:00
bumps versions of examples
This commit is contained in:
parent
c584f13cd4
commit
65d1ba5786
1 changed files with 6 additions and 7 deletions
13
README.md
13
README.md
|
|
@ -30,10 +30,10 @@ A specific version of Terraform CLI can be installed.
|
|||
steps:
|
||||
- uses: hashicorp/setup-terraform@v1
|
||||
with:
|
||||
terraform_version: 0.12.25
|
||||
terraform_version: 1.1.7
|
||||
```
|
||||
|
||||
Credentials for Terraform Cloud (app.terraform.io) can be configured.
|
||||
Credentials for Terraform Cloud ([app.terraform.io](https://app.terraform.io/)) can be configured.
|
||||
|
||||
```yaml
|
||||
steps:
|
||||
|
|
@ -42,7 +42,7 @@ steps:
|
|||
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
|
||||
```
|
||||
|
||||
Credentials for Terraform Enterprise can be configured.
|
||||
Credentials for Terraform Enterprise (TFE) can be configured:
|
||||
|
||||
```yaml
|
||||
steps:
|
||||
|
|
@ -52,7 +52,7 @@ steps:
|
|||
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
|
||||
```
|
||||
|
||||
The wrapper script installation can be skipped.
|
||||
The wrapper script installation can be skipped by setting the `terraform_wrapper` variable to `false`:
|
||||
|
||||
```yaml
|
||||
steps:
|
||||
|
|
@ -156,15 +156,14 @@ The action supports the following inputs:
|
|||
|
||||
- `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)
|
||||
for available range specifications). Examples are: `<0.14.0`, `~0.13.0`, `0.13.x` (all three installing
|
||||
the latest available 0.13 version). Prerelease versions can be specified and a range will stay within the
|
||||
for available range specifications). Examples are: `<1.2.0`, `~1.1.0`, `1.1.7` (all three installing
|
||||
the latest available `1.1` version). Prerelease versions can be specified and a range will stay within the
|
||||
given tag such as `beta` or `rc`. If no version is given, it will default to `latest`.
|
||||
|
||||
- `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
|
||||
named `stdout`, `stderr`, and `exitcode` respectively. Defaults to `true`.
|
||||
|
||||
|
||||
## Outputs
|
||||
|
||||
This action does not configure any outputs directly. However, when you set the `terraform_wrapper` input
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue