mirror of
https://github.com/hashicorp/setup-terraform.git
synced 2025-12-15 16:12:35 +00:00
Release 2.0.0 (#181)
This commit is contained in:
parent
b432b56155
commit
17d4c9b804
4 changed files with 31 additions and 12 deletions
21
CHANGELOG.md
21
CHANGELOG.md
|
|
@ -1,3 +1,20 @@
|
|||
# [2.0.0] (2022-04-18)
|
||||
|
||||
BREAKING CHANGES:
|
||||
|
||||
* Support Actions Runners v2.285.0 or later by upgrading to Nodejs v16 runtime by @chenrui333 in https://github.com/hashicorp/setup-terraform/pull/170
|
||||
|
||||
NOTES:
|
||||
|
||||
* docs: Update existing PR comments example by @tobiasbueschel in https://github.com/hashicorp/setup-terraform/pull/178
|
||||
* Update Terraform versions and usage in README examples by @ksatirli in https://github.com/hashicorp/setup-terraform/pull/176
|
||||
* Update grammar in README.md by @dustindortch in https://github.com/hashicorp/setup-terraform/pull/180
|
||||
|
||||
INTERNAL:
|
||||
|
||||
* Bump @actions/github from 5.0.0 to 5.0.1 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/177
|
||||
* dependabot: track github-actions dependency changes by @chenrui333 in https://github.com/hashicorp/setup-terraform/pull/179
|
||||
|
||||
# [1.4.0] (2022-04-04)
|
||||
|
||||
NOTES:
|
||||
|
|
@ -79,7 +96,9 @@ INTERNAL:
|
|||
- Initial release.
|
||||
|
||||
<!-- Links to tag comparisons -->
|
||||
[Unreleased]: https://github.com/hashicorp/setup-terraform/compare/v1.3.2...main
|
||||
[Unreleased]: https://github.com/hashicorp/setup-terraform/compare/v2.0.0...main
|
||||
[2.0.0]: https://github.com/hashicorp/setup-terraform/compare/v1.4.0...v2.0.0
|
||||
[1.4.0]: https://github.com/hashicorp/setup-terraform/compare/v1.3.2...v1.4.0
|
||||
[1.3.2]: https://github.com/hashicorp/setup-terraform/compare/v1.3.1...v1.3.2
|
||||
[1.3.1]: https://github.com/hashicorp/setup-terraform/compare/v1.3.0...v1.3.1
|
||||
[1.3.0]: https://github.com/hashicorp/setup-terraform/compare/v1.2.1...v1.3.0
|
||||
|
|
|
|||
16
README.md
16
README.md
|
|
@ -21,14 +21,14 @@ The default configuration installs the latest version of Terraform CLI and insta
|
|||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: hashicorp/setup-terraform@v1
|
||||
- uses: hashicorp/setup-terraform@v2
|
||||
```
|
||||
|
||||
A specific version of Terraform CLI can be installed.
|
||||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: hashicorp/setup-terraform@v1
|
||||
- uses: hashicorp/setup-terraform@v2
|
||||
with:
|
||||
terraform_version: 1.1.7
|
||||
```
|
||||
|
|
@ -37,7 +37,7 @@ Credentials for Terraform Cloud ([app.terraform.io](https://app.terraform.io/))
|
|||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: hashicorp/setup-terraform@v1
|
||||
- uses: hashicorp/setup-terraform@v2
|
||||
with:
|
||||
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
|
||||
```
|
||||
|
|
@ -46,7 +46,7 @@ Credentials for Terraform Enterprise (TFE) can be configured:
|
|||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: hashicorp/setup-terraform@v1
|
||||
- uses: hashicorp/setup-terraform@v2
|
||||
with:
|
||||
cli_config_credentials_hostname: 'terraform.example.com'
|
||||
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
|
||||
|
|
@ -56,7 +56,7 @@ The wrapper script installation can be skipped by setting the `terraform_wrapper
|
|||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: hashicorp/setup-terraform@v1
|
||||
- uses: hashicorp/setup-terraform@v2
|
||||
with:
|
||||
terraform_wrapper: false
|
||||
```
|
||||
|
|
@ -66,7 +66,7 @@ Subsequent steps can access outputs when the wrapper script is installed.
|
|||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: hashicorp/setup-terraform@v1
|
||||
- uses: hashicorp/setup-terraform@v2
|
||||
|
||||
- run: terraform init
|
||||
|
||||
|
|
@ -86,7 +86,7 @@ defaults:
|
|||
working-directory: ${{ env.tf_actions_working_dir }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: hashicorp/setup-terraform@v1
|
||||
- uses: hashicorp/setup-terraform@v2
|
||||
|
||||
- name: Terraform fmt
|
||||
id: fmt
|
||||
|
|
@ -152,7 +152,7 @@ defaults:
|
|||
working-directory: ${{ env.tf_actions_working_dir }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: hashicorp/setup-terraform@v1
|
||||
- uses: hashicorp/setup-terraform@v2
|
||||
|
||||
- name: Terraform fmt
|
||||
id: fmt
|
||||
|
|
|
|||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "setup-terraform",
|
||||
"version": "1.4.0",
|
||||
"version": "2.0.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "setup-terraform",
|
||||
"version": "1.4.0",
|
||||
"version": "2.0.0",
|
||||
"hasInstallScript": true,
|
||||
"license": "MPL-2.0",
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "setup-terraform",
|
||||
"version": "1.4.0",
|
||||
"version": "2.0.0",
|
||||
"description": "Setup Terraform CLI for GitHub Actions",
|
||||
"license": "MPL-2.0",
|
||||
"publisher": "hashicorp",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue