Skip to content

Commit

Permalink
Release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jpogran committed Apr 18, 2022
1 parent b432b56 commit 3b51bcc
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 12 deletions.
21 changes: 20 additions & 1 deletion CHANGELOG.md
@@ -1,3 +1,20 @@
# [2.0.0] (2022-04-18)

BREAKING CHANGES:

* Upgrade Nodejs runtime from 12 to 16 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:
Expand Down Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions README.md
Expand Up @@ -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
```
Expand All @@ -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 }}
```
Expand All @@ -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 }}
Expand All @@ -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
```
Expand All @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -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",
Expand Down

0 comments on commit 3b51bcc

Please sign in to comment.