Compare commits

...

306 commits
v1.0.0 ... main

Author SHA1 Message Date
dependabot[bot]
92e4d08fe1
Bump dessant/lock-threads in the github-actions group (#519)
Some checks failed
setup-terraform tests / HCP Terraform Credentials (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials-1 (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials-1 (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform No Credentials (push) Has been cancelled
setup-terraform tests / Terraform No Credentials-1 (push) Has been cancelled
setup-terraform tests / Terraform No Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform Arguments (push) Has been cancelled
setup-terraform tests / Terraform Arguments-1 (push) Has been cancelled
setup-terraform tests / Terraform Arguments-2 (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform Run Local (push) Has been cancelled
setup-terraform tests / Terraform Run Local-1 (push) Has been cancelled
setup-terraform tests / Terraform Run Local-2 (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT (push) Has been cancelled
setup-terraform tests / Terraform STDOUT-1 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT-2 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply-1 (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply-2 (push) Has been cancelled
Bumps the github-actions group with 1 update: [dessant/lock-threads](https://github.com/dessant/lock-threads).


Updates `dessant/lock-threads` from 5.0.1 to 6.0.0
- [Release notes](https://github.com/dessant/lock-threads/releases)
- [Changelog](https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md)
- [Commits](1bf7ec2505...7266a7ce5c)

---
updated-dependencies:
- dependency-name: dessant/lock-threads
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-15 14:45:28 -05:00
dependabot[bot]
071811a162
Bump the github-actions group with 2 updates (#517)
Some checks failed
setup-terraform tests / Terraform Run Local-1 (push) Has been cancelled
setup-terraform tests / Terraform Run Local-2 (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT (push) Has been cancelled
setup-terraform tests / Terraform STDOUT-1 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT-2 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials-1 (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials-1 (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform No Credentials (push) Has been cancelled
setup-terraform tests / Terraform No Credentials-1 (push) Has been cancelled
setup-terraform tests / Terraform No Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform Arguments (push) Has been cancelled
setup-terraform tests / Terraform Arguments-1 (push) Has been cancelled
setup-terraform tests / Terraform Arguments-2 (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform Run Local (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply-1 (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply-2 (push) Has been cancelled
2025-12-11 13:31:17 -05:00
dependabot[bot]
712b43959e
Bump actions/checkout from 5.0.0 to 6.0.0 in the github-actions group (#515)
Some checks failed
setup-terraform tests / HCP Terraform Credentials (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials-1 (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials-1 (push) Has been cancelled
setup-terraform tests / Terraform Arguments-2 (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform No Credentials (push) Has been cancelled
setup-terraform tests / Terraform No Credentials-1 (push) Has been cancelled
setup-terraform tests / Terraform No Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform Arguments (push) Has been cancelled
setup-terraform tests / Terraform Arguments-1 (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform Run Local (push) Has been cancelled
setup-terraform tests / Terraform Run Local-1 (push) Has been cancelled
setup-terraform tests / Terraform Run Local-2 (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT (push) Has been cancelled
setup-terraform tests / Terraform STDOUT-1 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT-2 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply-1 (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply-2 (push) Has been cancelled
* Bump actions/checkout from 5.0.0 to 6.0.0 in the github-actions group

Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 5.0.0 to 6.0.0
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](08c6903cd8...1af3b93b68)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>

* `npm audit fix`

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2025-11-24 15:56:54 +01:00
dependabot[bot]
4c5fdabea2
Bump @actions/io from 1.1.3 to 2.0.0 (#513)
Some checks failed
setup-terraform tests / HCP Terraform Credentials (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials-1 (push) Has been cancelled
setup-terraform tests / Terraform No Credentials-1 (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials-1 (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform No Credentials (push) Has been cancelled
setup-terraform tests / Terraform No Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform Arguments (push) Has been cancelled
setup-terraform tests / Terraform Arguments-1 (push) Has been cancelled
setup-terraform tests / Terraform Arguments-2 (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform Run Local (push) Has been cancelled
setup-terraform tests / Terraform Run Local-1 (push) Has been cancelled
setup-terraform tests / Terraform Run Local-2 (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT (push) Has been cancelled
setup-terraform tests / Terraform STDOUT-1 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT-2 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply-1 (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply-2 (push) Has been cancelled
* Bump @actions/io from 1.1.3 to 2.0.0

Bumps [@actions/io](https://github.com/actions/toolkit/tree/HEAD/packages/io) from 1.1.3 to 2.0.0.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/io/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/io)

---
updated-dependencies:
- dependency-name: "@actions/io"
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* make run build

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steph <steph@hashicorp.com>
2025-11-04 10:27:01 +01:00
dependabot[bot]
982f6f017c
Bump semver from 7.7.2 to 7.7.3 (#511)
Some checks failed
setup-terraform tests / HCP Terraform Credentials (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials-1 (push) Has been cancelled
setup-terraform tests / Terraform No Credentials-1 (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials-1 (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform No Credentials (push) Has been cancelled
setup-terraform tests / Terraform No Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform Arguments (push) Has been cancelled
setup-terraform tests / Terraform Arguments-1 (push) Has been cancelled
setup-terraform tests / Terraform Arguments-2 (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform Run Local (push) Has been cancelled
setup-terraform tests / Terraform Run Local-1 (push) Has been cancelled
setup-terraform tests / Terraform Run Local-2 (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT (push) Has been cancelled
setup-terraform tests / Terraform STDOUT-1 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT-2 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply-1 (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply-2 (push) Has been cancelled
* Bump semver from 7.7.2 to 7.7.3

Bumps [semver](https://github.com/npm/node-semver) from 7.7.2 to 7.7.3.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.7.2...v7.7.3)

---
updated-dependencies:
- dependency-name: semver
  dependency-version: 7.7.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* make run build

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2025-10-22 14:54:59 +02:00
dependabot[bot]
889df91364
Bump actions/setup-node from 5.0.0 to 6.0.0 in the github-actions group (#512)
Bumps the github-actions group with 1 update: [actions/setup-node](https://github.com/actions/setup-node).


Updates `actions/setup-node` from 5.0.0 to 6.0.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](a0853c2454...2028fbc5c2)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-22 08:23:15 -04:00
dependabot[bot]
c529327889
Bump jest from 30.1.3 to 30.2.0 (#509)
Some checks failed
setup-terraform tests / HCP Terraform Credentials (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials-1 (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials-1 (push) Has been cancelled
setup-terraform tests / Terraform Arguments-2 (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform No Credentials (push) Has been cancelled
setup-terraform tests / Terraform No Credentials-1 (push) Has been cancelled
setup-terraform tests / Terraform No Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform Arguments (push) Has been cancelled
setup-terraform tests / Terraform Arguments-1 (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform Run Local (push) Has been cancelled
setup-terraform tests / Terraform Run Local-1 (push) Has been cancelled
setup-terraform tests / Terraform Run Local-2 (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT (push) Has been cancelled
setup-terraform tests / Terraform STDOUT-1 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT-2 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply-1 (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply-2 (push) Has been cancelled
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 30.1.3 to 30.2.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v30.2.0/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-version: 30.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-07 12:35:14 +02:00
dependabot[bot]
afa38526df
Bump @vercel/ncc from 0.38.3 to 0.38.4 (#508)
Some checks failed
Continuous Integration / Check dist/ directory (push) Has been cancelled
Continuous Integration / Test (push) Has been cancelled
setup-terraform tests / Terraform Versions (push) Has been cancelled
setup-terraform tests / Terraform Versions No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Versions Constraints (push) Has been cancelled
setup-terraform tests / Terraform Versions Constraints No Wrapper (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials (push) Has been cancelled
setup-terraform tests / Terraform No Credentials (push) Has been cancelled
setup-terraform tests / Terraform Arguments (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Run Local (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform STDOUT (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply (push) Has been cancelled
Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.38.3 to 0.38.4.
- [Release notes](https://github.com/vercel/ncc/releases)
- [Commits](https://github.com/vercel/ncc/compare/0.38.3...0.38.4)

---
updated-dependencies:
- dependency-name: "@vercel/ncc"
  dependency-version: 0.38.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-23 16:24:03 -04:00
dependabot[bot]
fe38bfbb36
Bump axios from 1.8.2 to 1.12.1 (#506)
Some checks failed
Continuous Integration / Check dist/ directory (push) Has been cancelled
Continuous Integration / Test (push) Has been cancelled
setup-terraform tests / Terraform Versions Constraints (push) Has been cancelled
setup-terraform tests / Terraform Versions (push) Has been cancelled
setup-terraform tests / Terraform Versions No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Versions Constraints No Wrapper (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials (push) Has been cancelled
setup-terraform tests / Terraform Arguments (push) Has been cancelled
setup-terraform tests / Terraform No Credentials (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Run Local (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform STDOUT (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply (push) Has been cancelled
* Bump axios from 1.8.2 to 1.12.1

Bumps [axios](https://github.com/axios/axios) from 1.8.2 to 1.12.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.8.2...v1.12.1)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.12.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: run build to update dist/index.js

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ansgar Mertens <ansgar@hashicorp.com>
2025-09-18 10:40:27 +02:00
dependabot[bot]
2ee5124c44
Bump jest from 30.1.2 to 30.1.3 (#505)
Some checks failed
Continuous Integration / Check dist/ directory (push) Has been cancelled
Continuous Integration / Test (push) Has been cancelled
setup-terraform tests / Terraform Versions (push) Has been cancelled
setup-terraform tests / Terraform Versions Constraints (push) Has been cancelled
setup-terraform tests / Terraform Versions No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Versions Constraints No Wrapper (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials (push) Has been cancelled
setup-terraform tests / Terraform No Credentials (push) Has been cancelled
setup-terraform tests / Terraform Arguments (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Run Local (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform STDOUT (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply (push) Has been cancelled
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 30.1.2 to 30.1.3.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v30.1.3/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-version: 30.1.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-09 15:33:52 +02:00
dependabot[bot]
7a460deeba
Bump the github-actions group with 2 updates (#504)
Bumps the github-actions group with 2 updates: [miniscruff/changie-action](https://github.com/miniscruff/changie-action) and [actions/setup-node](https://github.com/actions/setup-node).


Updates `miniscruff/changie-action` from 2.0.0 to 2.1.0
- [Release notes](https://github.com/miniscruff/changie-action/releases)
- [Changelog](https://github.com/miniscruff/changie-action/blob/main/CHANGELOG.md)
- [Commits](6dcc2533ca...5036dffa79)

Updates `actions/setup-node` from 4.4.0 to 5.0.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](49933ea528...a0853c2454)

---
updated-dependencies:
- dependency-name: miniscruff/changie-action
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: actions/setup-node
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-09 13:50:08 +02:00
dependabot[bot]
08cace2060
Bump jest from 30.0.5 to 30.1.2 (#502)
Some checks failed
Continuous Integration / Check dist/ directory (push) Has been cancelled
Continuous Integration / Test (push) Has been cancelled
setup-terraform tests / Terraform Versions Constraints (push) Has been cancelled
setup-terraform tests / Terraform Versions (push) Has been cancelled
setup-terraform tests / Terraform Versions No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Versions Constraints No Wrapper (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials (push) Has been cancelled
setup-terraform tests / Terraform No Credentials (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials (push) Has been cancelled
setup-terraform tests / Terraform Arguments (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Run Local (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform STDOUT (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply (push) Has been cancelled
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 30.0.5 to 30.1.2.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/HEAD/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-version: 30.1.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 10:42:58 -04:00
dependabot[bot]
7a4a568111
Bump nock from 14.0.9 to 14.0.10 (#500)
Some checks failed
Continuous Integration / Check dist/ directory (push) Has been cancelled
Continuous Integration / Test (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Versions Constraints (push) Has been cancelled
setup-terraform tests / Terraform Versions Constraints No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply (push) Has been cancelled
setup-terraform tests / Terraform Arguments (push) Has been cancelled
setup-terraform tests / Terraform Versions (push) Has been cancelled
setup-terraform tests / Terraform STDOUT (push) Has been cancelled
setup-terraform tests / Terraform Versions No Wrapper (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform No Credentials (push) Has been cancelled
setup-terraform tests / Terraform Run Local (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper (push) Has been cancelled
Bumps [nock](https://github.com/nock/nock) from 14.0.9 to 14.0.10.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v14.0.9...v14.0.10)

---
updated-dependencies:
- dependency-name: nock
  dependency-version: 14.0.10
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-25 17:51:07 -04:00
dependabot[bot]
2531c42cf3
Bump actions/checkout from 4.2.2 to 5.0.0 in the github-actions group (#499)
Some checks failed
Continuous Integration / Check dist/ directory (push) Has been cancelled
Continuous Integration / Test (push) Has been cancelled
setup-terraform tests / Terraform Versions Constraints (push) Has been cancelled
setup-terraform tests / Terraform Versions (push) Has been cancelled
setup-terraform tests / Terraform Versions No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Versions Constraints No Wrapper (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials (push) Has been cancelled
setup-terraform tests / Terraform Arguments (push) Has been cancelled
setup-terraform tests / Terraform No Credentials (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Run Local (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform STDOUT (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply (push) Has been cancelled
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4.2.2 to 5.0.0
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](11bd71901b...08c6903cd8)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-18 15:26:42 +02:00
Service Account - Terraform Provider DevEx
922a7f49a5 [CI] Update lock workflow file 2025-08-14 12:23:27 -04:00
dependabot[bot]
8d2314a5a5
Bump jest from 30.0.4 to 30.0.5 (#497)
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 30.0.4 to 30.0.5.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v30.0.5/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-version: 30.0.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 13:23:48 +02:00
dependabot[bot]
2583b7f7b0
Bump nock from 14.0.6 to 14.0.9 (#498)
Bumps [nock](https://github.com/nock/nock) from 14.0.6 to 14.0.9.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v14.0.6...v14.0.9)

---
updated-dependencies:
- dependency-name: nock
  dependency-version: 14.0.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 13:19:56 +02:00
dependabot[bot]
0d13b7f42d
Bump nock from 14.0.5 to 14.0.6 (#495)
---
updated-dependencies:
- dependency-name: nock
  dependency-version: 14.0.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-30 08:37:29 -04:00
dependabot[bot]
c0a118784f
Bump form-data from 4.0.2 to 4.0.4 (#496)
* Bump form-data from 4.0.2 to 4.0.4

Bumps [form-data](https://github.com/form-data/form-data) from 4.0.2 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.2...v4.0.4)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* run build

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ansgar Mertens <ansgar@hashicorp.com>
2025-07-22 17:00:56 +02:00
dependabot[bot]
1428cf0603
Bump jest from 30.0.3 to 30.0.4 (#494)
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 30.0.3 to 30.0.4.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v30.0.4/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-version: 30.0.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-08 10:30:48 -04:00
dependabot[bot]
71c625de8e
Bump jest from 29.7.0 to 30.0.3 (#493)
* Bump jest from 29.7.0 to 30.0.3

Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 29.7.0 to 30.0.3.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v30.0.3/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-version: 30.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* jest30 updates

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2025-06-30 23:34:03 -04:00
Ansgar Mertens
c6dbe8c0cb
github: Group all Github action updates in a single Dependabot PR once a week (#487) 2025-06-20 09:59:32 -04:00
Baraa Basata
6195e86a29
Update CODEOWNERS (#491) 2025-06-18 08:45:17 -04:00
Austin Valle
5a8481b19f
update all packages and gh workflows (#489) 2025-06-02 16:50:34 -04:00
dependabot[bot]
8c8499e9e3
Bump @hashicorp/js-releases from 1.7.3 to 1.7.5 (#485)
Bumps [@hashicorp/js-releases](https://github.com/hashicorp/js-releases) from 1.7.3 to 1.7.5.
- [Release notes](https://github.com/hashicorp/js-releases/releases)
- [Changelog](https://github.com/hashicorp/js-releases/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/js-releases/compare/v1.7.3...v1.7.5)

---
updated-dependencies:
- dependency-name: "@hashicorp/js-releases"
  dependency-version: 1.7.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-19 15:30:01 -04:00
Denise Yu
4bb2b63d92
Create pull_request_template.md (#484) 2025-05-19 10:05:16 +02:00
Ansgar Mertens
1ef107dd85
github: Use Dependabot to keep Actions updated (#481) 2025-05-15 07:14:06 -04:00
Baraa Basata
a0612fb3ce
Tidy META.d (#480)
De-duplicate `_summary.yaml` / `_summary.yml`
2025-05-13 09:12:25 -04:00
dependabot[bot]
06d7cc5c8c
Bump semver from 7.7.1 to 7.7.2 (#477)
* Bump semver from 7.7.1 to 7.7.2

Bumps [semver](https://github.com/npm/node-semver) from 7.7.1 to 7.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.7.1...v7.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-version: 7.7.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* npm run build

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Baraa Basata <bbasata@gmail.com>
2025-05-13 12:35:13 +00:00
dependabot[bot]
a8fd1d197b
Bump @actions/github from 6.0.0 to 6.0.1 (#478)
Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 6.0.0 to 6.0.1.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github)

---
updated-dependencies:
- dependency-name: "@actions/github"
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-13 08:30:26 -04:00
Baraa Basata
25dabe9f9b
Add catalog metadata (META.d) (#479)
* Add catalog metadata (META.d)

* Add catalog metadata (META.d)
2025-05-13 08:19:52 -04:00
dependabot[bot]
607bf09de2
Bump nock from 14.0.3 to 14.0.4 (#476)
Bumps [nock](https://github.com/nock/nock) from 14.0.3 to 14.0.4.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v14.0.3...v14.0.4)

---
updated-dependencies:
- dependency-name: nock
  dependency-version: 14.0.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-22 07:09:46 -04:00
dependabot[bot]
77d3b26ee9
Bump nock from 14.0.2 to 14.0.3 (#474)
Bumps [nock](https://github.com/nock/nock) from 14.0.2 to 14.0.3.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v14.0.2...v14.0.3)

---
updated-dependencies:
- dependency-name: nock
  dependency-version: 14.0.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-21 08:31:17 -04:00
Baraa Basata
71e23deaae
npm audit fix (#475)
This commit applies automatic `npm audit fix` changes.
2025-04-15 15:31:25 -04:00
dependabot[bot]
1f2422a204
Bump nock from 14.0.1 to 14.0.2 (#473)
* Bump nock from 14.0.1 to 14.0.2

Bumps [nock](https://github.com/nock/nock) from 14.0.1 to 14.0.2.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v14.0.1...v14.0.2)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* npm run build

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Baraa Basata <bbasata@gmail.com>
2025-04-02 19:36:29 -04:00
hashicorp-tsccr[bot]
852ca175a6
Result of tsccr-helper -log-level=info gha update -latest .github/ (#472)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2025-03-24 11:16:54 -04:00
dependabot[bot]
2f1b53ffa5
Bump axios from 1.7.4 to 1.8.2 (#471)
* Bump axios from 1.7.4 to 1.8.2

Bumps [axios](https://github.com/axios/axios) from 1.7.4 to 1.8.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.4...v1.8.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: build dist/index.js

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ansgar Mertens <ansgar@hashicorp.com>
2025-03-10 09:46:00 -04:00
dependabot[bot]
0c8c41f96f
Bump @octokit/request from 8.1.4 to 8.4.1 (#467)
Bumps [@octokit/request](https://github.com/octokit/request.js) from 8.1.4 to 8.4.1.
- [Release notes](https://github.com/octokit/request.js/releases)
- [Commits](https://github.com/octokit/request.js/compare/v8.1.4...v8.4.1)

---
updated-dependencies:
- dependency-name: "@octokit/request"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-10 14:09:53 +01:00
dependabot[bot]
009a8b75dc
Bump @octokit/plugin-paginate-rest from 9.0.0 to 9.2.2 (#468)
Bumps [@octokit/plugin-paginate-rest](https://github.com/octokit/plugin-paginate-rest.js) from 9.0.0 to 9.2.2.
- [Release notes](https://github.com/octokit/plugin-paginate-rest.js/releases)
- [Commits](https://github.com/octokit/plugin-paginate-rest.js/compare/v9.0.0...v9.2.2)

---
updated-dependencies:
- dependency-name: "@octokit/plugin-paginate-rest"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-10 13:54:03 +01:00
dependabot[bot]
e708d31c3d
Bump @octokit/request-error from 5.0.1 to 5.1.1 (#466)
Bumps [@octokit/request-error](https://github.com/octokit/request-error.js) from 5.0.1 to 5.1.1.
- [Release notes](https://github.com/octokit/request-error.js/releases)
- [Commits](https://github.com/octokit/request-error.js/compare/v5.0.1...v5.1.1)

---
updated-dependencies:
- dependency-name: "@octokit/request-error"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-19 08:25:33 -05:00
dependabot[bot]
7d2407faba
Bump semver from 7.6.3 to 7.7.1 (#464)
* Bump semver from 7.6.3 to 7.7.1

Bumps [semver](https://github.com/npm/node-semver) from 7.6.3 to 7.7.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.6.3...v7.7.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* npm run build

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2025-02-12 16:15:48 +01:00
hashicorp-tsccr[bot]
9e5c386f98
Result of tsccr-helper -log-level=info gha update -latest .github/ (#462)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2025-02-12 07:55:45 -05:00
dependabot[bot]
f717f5cabe
Bump nock from 14.0.0 to 14.0.1 (#465)
Bumps [nock](https://github.com/nock/nock) from 14.0.0 to 14.0.1.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v14.0.0...v14.0.1)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Baraa Basata <bbasata@gmail.com>
2025-02-12 07:47:17 -05:00
Baraa Basata
1748f9de39
Update actions/reusable-workflows (#463) 2025-02-10 17:40:35 -05:00
Artem
8c5bde2a38
add "-input=false" (#440) 2025-02-10 11:31:15 -05:00
dependabot[bot]
49dee962d5
Bump nock from 13.5.6 to 14.0.0 (#458)
Bumps [nock](https://github.com/nock/nock) from 13.5.6 to 14.0.0.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.5.6...v14.0.0)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-27 17:03:35 -05:00
dependabot[bot]
817023b5c8
Bump undici from 5.28.4 to 5.28.5 (#457)
* Bump undici from 5.28.4 to 5.28.5

Bumps [undici](https://github.com/nodejs/undici) from 5.28.4 to 5.28.5.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.28.4...v5.28.5)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* rebuild dist + bump @actions/tool-cache

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2025-01-24 11:04:02 -05:00
James Pogran
344fef46b6
(TFECO-8260) Add Heimdall metadata (#450)
* (TFECO-8260) Add Heimdall metadata

* Update META.d/_summary.yml

* Update META.d/_summary.yml

---------
2024-11-21 15:48:47 -05:00
dependabot[bot]
638baae343
Bump @vercel/ncc from 0.38.2 to 0.38.3 (#449)
* Bump @vercel/ncc from 0.38.2 to 0.38.3

Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.38.2 to 0.38.3.
- [Release notes](https://github.com/vercel/ncc/releases)
- [Commits](https://github.com/vercel/ncc/compare/0.38.2...0.38.3)

---
updated-dependencies:
- dependency-name: "@vercel/ncc"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* npm audit fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2024-11-19 10:33:38 -05:00
dependabot[bot]
fd3bf06534
Bump nock from 13.5.5 to 13.5.6 (#447)
Bumps [nock](https://github.com/nock/nock) from 13.5.5 to 13.5.6.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.5.5...v13.5.6)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-15 15:13:19 -05:00
hashicorp-tsccr[bot]
4fab011903
Result of tsccr-helper -log-level=info gha update -latest .github/ (#446)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-11-04 11:29:34 -05:00
hashicorp-tsccr[bot]
273780a335
Result of tsccr-helper -log-level=info gha update -latest . (#442)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-10-22 09:42:09 -04:00
dependabot[bot]
4b8e29db07
Bump @actions/core from 1.10.1 to 1.11.1 (#439)
* Bump @actions/core from 1.10.1 to 1.11.1

Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.10.1 to 1.11.1.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* `npm run build`

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2024-10-07 16:01:28 -04:00
hashicorp-tsccr[bot]
98aecdfa81
Result of tsccr-helper -log-level=info gha update -latest . (#438)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-10-07 09:58:00 -04:00
hashicorp-tsccr[bot]
76fd07bad3
Result of tsccr-helper -log-level=info gha update -latest . (#436)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-09-30 12:22:09 -04:00
dependabot[bot]
c4396e588c
Bump @vercel/ncc from 0.38.1 to 0.38.2 (#434)
* Bump @vercel/ncc from 0.38.1 to 0.38.2

Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.38.1 to 0.38.2.
- [Release notes](https://github.com/vercel/ncc/releases)
- [Commits](https://github.com/vercel/ncc/compare/0.38.1...0.38.2)

---
updated-dependencies:
- dependency-name: "@vercel/ncc"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* rebuild dist

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2024-09-26 07:38:34 -04:00
Service Account - Terraform Provider DevEx
c23d9fb1b7 [CI] Update lock workflow file 2024-09-16 09:32:30 -04:00
Service Account - Terraform Provider DevEx
7d0fcea6b8 [CI] Update issue comment triage workflow file 2024-09-16 09:32:27 -04:00
dependabot[bot]
a0b6ede12c
Bump nock from 13.5.4 to 13.5.5 (#431)
Bumps [nock](https://github.com/nock/nock) from 13.5.4 to 13.5.5.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.5.4...v13.5.5)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 15:16:54 -04:00
hc-github-team-tf-provider-devex
b9cd54a3c3 Update package version 2024-08-19 16:10:00 +00:00
hc-github-team-tf-provider-devex
47b7a54660 Update changelog 2024-08-19 16:09:37 +00:00
dependabot[bot]
20bffecdc7
Bump @hashicorp/js-releases from 1.7.2 to 1.7.3 (#430)
* Bump @hashicorp/js-releases from 1.7.2 to 1.7.3

Bumps [@hashicorp/js-releases](https://github.com/hashicorp/js-releases) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/hashicorp/js-releases/releases)
- [Changelog](https://github.com/hashicorp/js-releases/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/js-releases/compare/v1.7.2...v1.7.3)

---
updated-dependencies:
- dependency-name: "@hashicorp/js-releases"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* build

* add changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Pogran <jpogran@outlook.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2024-08-16 14:51:37 -04:00
hashicorp-tsccr[bot]
7f4493e155
Result of tsccr-helper -log-level=info gha update -latest . (#426)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2024-07-23 13:07:37 -04:00
dependabot[bot]
bda29761c6
Bump semver from 7.6.2 to 7.6.3 (#427)
* Bump semver from 7.6.2 to 7.6.3

Bumps [semver](https://github.com/npm/node-semver) from 7.6.2 to 7.6.3.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.6.2...v7.6.3)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update dist

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2024-07-23 13:01:15 -04:00
hashicorp-tsccr[bot]
3235006f3a
Result of tsccr-helper -log-level=info gha update -latest . (#421)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2024-06-26 14:59:15 -04:00
Austin Valle
81777d53ca
deps: Bump braces to 3.0.3 (#423) 2024-06-26 12:01:08 -04:00
Service Account - Terraform Provider DevEx
c5b46f3a20 [CI] Update lock workflow file 2024-06-10 16:08:51 -04:00
Service Account - Terraform Provider DevEx
0ec620c10e [CI] terraform-devex-repos automation 2024-06-04 13:09:11 -04:00
Service Account - Terraform Provider DevEx
02909a6782 [CI] terraform-devex-repos automation 2024-06-04 13:09:09 -04:00
Service Account - Terraform Provider DevEx
e2c57ad734 [CI] terraform-devex-repos automation 2024-06-04 13:07:44 -04:00
Service Account - Terraform Provider DevEx
69dd27efac [CI] terraform-devex-repos automation 2024-06-04 10:10:14 -04:00
Service Account - Terraform Provider DevEx
79dc7f98ba [CI] terraform-devex-repos automation 2024-06-04 10:10:11 -04:00
Service Account - Terraform Provider DevEx
8f68c2ad45 [CI] terraform-devex-repos automation 2024-06-04 10:10:10 -04:00
hashicorp-tsccr[bot]
070c2081b2
Result of tsccr-helper -log-level=info gha update -latest . (#418)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-05-28 10:13:08 -04:00
Service Account - Terraform Provider DevEx
f985329c37 [CI] Update lock workflow file 2024-05-22 13:47:27 -04:00
dependabot[bot]
e991776e16
Bump semver from 7.6.0 to 7.6.2 (#416)
* Bump semver from 7.6.0 to 7.6.2

Bumps [semver](https://github.com/npm/node-semver) from 7.6.0 to 7.6.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.6.0...v7.6.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* rebuild dist

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2024-05-21 12:38:42 -04:00
Service Account - Terraform Provider DevEx
fa933962d0 [CI] Update issue comment triage workflow file 2024-05-17 16:11:09 -04:00
Service Account - Terraform Provider DevEx
21093d5e31 [CI] Update issue comment triage workflow file 2024-05-17 15:48:17 -04:00
Service Account - Terraform Provider DevEx
e08428bc1b [CI] Update issue comment triage workflow file 2024-05-17 15:23:07 -04:00
Service Account - Terraform Provider DevEx
608a0c2d63 [CI] Update issue comment triage workflow file 2024-05-17 15:09:54 -04:00
hashicorp-tsccr[bot]
85c6779ba6
Result of tsccr-helper -log-level=info gha update -latest . (#415)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-05-13 09:04:15 -04:00
dependabot[bot]
77b7878004
Bump hashicorp/setup-copywrite from 1.1.2 to 1.1.3 (#414)
Bumps [hashicorp/setup-copywrite](https://github.com/hashicorp/setup-copywrite) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/hashicorp/setup-copywrite/releases)
- [Commits](867a1a2a06...32638da2d4)

---
updated-dependencies:
- dependency-name: hashicorp/setup-copywrite
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-10 14:56:07 -04:00
Benjamin Bennett
e0e08fea34
Replacing "Terraform Cloud" with "HCP Terraform" (#413) 2024-05-08 14:05:15 +01:00
hc-github-team-tf-provider-devex
651471c36a Update package version 2024-05-07 13:54:10 +00:00
hc-github-team-tf-provider-devex
423ba69560 Update changelog 2024-05-07 13:53:48 +00:00
Austin Valle
99441ecd44
wrapper: Write stdout/stderr data to stream when received (#410)
* wrapper: write stdout/stderr data to stream when received

* add a delay test

* temp comment

* uncomment actions

* add changelog
2024-05-07 09:51:25 -04:00
hashicorp-tsccr[bot]
5f32e8acaf
Result of tsccr-helper -log-level=info gha update -latest . (#412)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-05-06 10:11:06 -04:00
anthony
e6e8bf240a
bump actions/github-script from @v6 to @v7 (#411)
* bump `actions/github-script` from `@v6` to  `@v7`

* update ref `@v6` to `@v7`

* Update README.md
2024-04-30 09:30:45 -04:00
dependabot[bot]
1f0219f06b
Bump undici from 5.28.3 to 5.28.4 (#408)
* Bump undici from 5.28.3 to 5.28.4

Bumps [undici](https://github.com/nodejs/undici) from 5.28.3 to 5.28.4.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.28.3...v5.28.4)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* dist: Rebuild after dependency update

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brian Flad <bflad417@gmail.com>
2024-04-23 10:16:45 -04:00
dependabot[bot]
4d5f12e9c6
Bump follow-redirects from 1.15.4 to 1.15.6 (#404)
* Bump follow-redirects from 1.15.4 to 1.15.6

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* dist: Rebuild for dependency update

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brian Flad <bflad417@gmail.com>
2024-04-23 10:11:34 -04:00
hc-github-team-tf-provider-devex
97f030cf6d Update package version 2024-04-23 14:03:27 +00:00
hc-github-team-tf-provider-devex
c9227a4b06 Update changelog 2024-04-23 14:02:59 +00:00
Brian Flad
22013f72bd
Automatically fallback to darwin/amd64 for Terraform versions before 1.0.2 (#409)
Reference: https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/

GitHub hosted runners for `macos-latest` are automatically being upgraded to macOS 14 and arm64 architecture machines. Any workflows that are using the upgraded runner can return an error such as:

```
Error: Terraform version 0.12.* not available for darwin and arm64
```

This adds special case logic to automatically fallback to darwin/amd64 when darwin/arm64 is detected and the version is below 1.0.2, which is the first version that had darwin/arm64 release assets. macOS should emulate and run the amd64 binaries until Apple or GitHub removes the emulation support.
2024-04-23 10:01:38 -04:00
dependabot[bot]
a75f1a3cce
Bump nock from 13.5.3 to 13.5.4 (#400)
Bumps [nock](https://github.com/nock/nock) from 13.5.3 to 13.5.4.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.5.3...v13.5.4)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 06:32:54 +00:00
dependabot[bot]
b033326c2c
Bump nock from 13.5.1 to 13.5.3 (#399)
Bumps [nock](https://github.com/nock/nock) from 13.5.1 to 13.5.3.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.5.1...v13.5.3)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-20 05:56:48 +00:00
hashicorp-tsccr[bot]
0051b26884
Result of tsccr-helper -log-level=info gha update -latest . (#398)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Bennett <ben.bennett@hashicorp.com>
2024-02-19 07:19:42 +00:00
dependabot[bot]
e45327d894
Bump undici from 5.26.4 to 5.28.3 (#397)
* Bump undici from 5.26.4 to 5.28.3

Bumps [undici](https://github.com/nodejs/undici) from 5.26.4 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.26.4...v5.28.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Running npm ci && npm run build

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Bennett <ben.bennett@hashicorp.com>
2024-02-19 06:46:28 +00:00
Austin Valle
2417443146
Remove husky tool + fix lint error (#394)
* remove husky

* fix tests
2024-01-31 14:11:44 -05:00
Austin Valle
e12a01440e
Remove precommit and update dependabot (#393) 2024-01-31 09:24:06 -05:00
dependabot[bot]
521e785974
Bump nock from 13.5.0 to 13.5.1 (#392)
Bumps [nock](https://github.com/nock/nock) from 13.5.0 to 13.5.1.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.5.0...v13.5.1)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 06:39:26 +00:00
Kazuyoshi Yamasaki
2dfb501e55
update readme actions/checkout to v4 (#390) 2024-01-29 07:35:07 +00:00
dependabot[bot]
6ac2b085ea
Bump nock from 13.4.0 to 13.5.0 (#389)
Bumps [nock](https://github.com/nock/nock) from 13.4.0 to 13.5.0.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.4.0...v13.5.0)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-16 09:37:25 +00:00
hashicorp-tsccr[bot]
725b9fbf91
Result of tsccr-helper -log-level=info gha update -latest . (#388)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-01-15 07:35:35 +00:00
dependabot[bot]
3209a7815b
Bump follow-redirects from 1.15.3 to 1.15.4 (#387)
* Bump follow-redirects from 1.15.3 to 1.15.4

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Running npm ci && npm run build

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Bennett <ben.bennett@hashicorp.com>
2024-01-11 07:53:46 +00:00
dependabot[bot]
69c00852f1
Bump nock from 13.3.8 to 13.4.0 (#382)
Bumps [nock](https://github.com/nock/nock) from 13.3.8 to 13.4.0.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.3.8...v13.4.0)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-05 07:01:52 +00:00
hashicorp-tsccr[bot]
fc6630a3dc
Result of tsccr-helper -log-level=info -pin-all-workflows . (#381)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-12-04 07:38:53 +00:00
dependabot[bot]
f8aa68a57c
Bump axios and @hashicorp/js-releases (#380)
* Bump axios and @hashicorp/js-releases

Bumps [axios](https://github.com/axios/axios) to 1.6.2 and updates ancestor dependency [@hashicorp/js-releases](https://github.com/hashicorp/js-releases). These dependencies need to be updated together.


Updates `axios` from 0.25.0 to 1.6.2
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.25.0...v1.6.2)

Updates `@hashicorp/js-releases` from 1.7.1 to 1.7.2
- [Release notes](https://github.com/hashicorp/js-releases/releases)
- [Changelog](https://github.com/hashicorp/js-releases/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/js-releases/compare/v1.7.1...v1.7.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
- dependency-name: "@hashicorp/js-releases"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Ran npm ci && npm run build

* Ran ncc build wrapper/terraform.js --out wrapper/dist && ncc build index.js --out dist

* Ran npm ci && npm run build

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Bennett <ben.bennett@hashicorp.com>
2023-12-01 07:33:31 +00:00
Brian Flad
d116bd78c2
Mention NodeJS requirement for self-hosted runners (#379)
Reference: https://github.com/hashicorp/setup-terraform/issues/15
2023-11-29 15:25:11 -05:00
Brian Flad
1f997cc1ff
.github: Update workflows to use actions variables (#378)
Reference: https://github.com/hashicorp/terraform-devex-repos/issues/17
Reference: https://github.com/hashicorp/terraform-devex-repos/issues/35
2023-11-29 14:14:28 -05:00
Brian Flad
b4be958214
.github: Add CI for changie (#376)
Reference: https://github.com/hashicorp/terraform-providers-devex-internal/issues/171
2023-11-27 12:39:31 -05:00
Sebastian Korfmann
d648ba0239
upgrade examples to @v3 (#377) 2023-11-27 07:07:44 +00:00
dependabot[bot]
1b93182764
Bump nock from 13.3.7 to 13.3.8 (#374)
Bumps [nock](https://github.com/nock/nock) from 13.3.7 to 13.3.8.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.3.7...v13.3.8)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-07 06:12:03 +00:00
dependabot[bot]
ee8c4d7d5b
Bump @hashicorp/js-releases from 1.7.0 to 1.7.1 (#372)
Bumps [@hashicorp/js-releases](https://github.com/hashicorp/js-releases) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/hashicorp/js-releases/releases)
- [Changelog](https://github.com/hashicorp/js-releases/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/js-releases/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: "@hashicorp/js-releases"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-31 06:56:35 +00:00
dependabot[bot]
90c9a43546
Bump nock from 13.3.6 to 13.3.7 (#371)
Bumps [nock](https://github.com/nock/nock) from 13.3.6 to 13.3.7.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.3.6...v13.3.7)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-31 06:52:36 +00:00
hc-github-team-tf-provider-devex
a1502cd9e7 Update package version 2023-10-30 11:44:22 +00:00
hc-github-team-tf-provider-devex
070aa52467 Update changelog 2023-10-30 11:44:01 +00:00
hashicorp-tsccr[bot]
cfd668c07b
Result of tsccr-helper -log-level=info -pin-all-workflows . (#369)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-10-30 07:35:58 +00:00
Oliver Ford
4dff81de7e
Fix output malformed when wrapper enabled (#367)
* Fix output malformed when wrapper enabled

Presently using a command such as `terraform output -json | jq` does not
work with the wrapper enabled, as it is by default.

In order to consume terraform's output having set it up with this
Action, it is necessary either to disable the wrapper (`with:
terraform_wrapper: false`) or run it in its own Actions step with an
explicit `id` (e.g. `id: foo`) so that it can be referred to and consumed
(`${{steps.foo.outputs.stdout}}` et al.) in later steps.

This seems to be the result of much confusion (issues passim) and is not
at all easy (#338) to debug/diagnose and come to the realisation that
it's due to the wrapper, or even that such a thing exists.

@austinvalle identified the issue as being due to the `@actions/exec`
package writing the spawned command to stdout (along with then its
actual stdout). This has previously been reported upstream in
actions/toolkit#649; I've proposed actions/toolkit#1573 to fix it.

This commit aims to address the issue for `setup-terraform` in the
meantime by silencing `@actions/exec` and then writing out to stdout &
stderr from the listener buffers, which it writes to without this
additional logging.

Closes #20, #80, #85, #149, #338, and probably more.

* add test for stdout with jq

* update test name

* remove debug lines and add changelog

* add additional note about the bug fix to wrapper

---------

Co-authored-by: Austin Valle <austinvalle@gmail.com>
2023-10-27 14:05:58 -04:00
Austin Valle
4c41f96f26
Bump @actions/github from 5.1.1 to 6.0.0 (#361) 2023-10-27 09:05:58 -04:00
Rui Chen
9507e1d5bb
feat: bump to use node20 runtime (#346)
* feat: bump to use node20 runtime

Signed-off-by: Rui Chen <rui@chenrui.dev>

fix action refs for `actions/reusable-workflows`

Signed-off-by: Rui Chen <rui@chenrui.dev>

* docs: update changelog

Signed-off-by: Rui Chen <rui@chenrui.dev>

* workflows: update `actions/reusable-workflows` to use node20

Signed-off-by: Rui Chen <rui@chenrui.dev>

* chore: update dist file

* clean up PR for merge

* add node version

* update dist

* switch changelog

---------

Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2023-10-27 08:55:58 -04:00
dependabot[bot]
599d383196
Bump @vercel/ncc from 0.38.0 to 0.38.1 (#365)
Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.38.0 to 0.38.1.
- [Release notes](https://github.com/vercel/ncc/releases)
- [Commits](https://github.com/vercel/ncc/compare/0.38.0...0.38.1)

---
updated-dependencies:
- dependency-name: "@vercel/ncc"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 07:49:26 +01:00
dependabot[bot]
1697eea208
Bump nock from 13.3.4 to 13.3.6 (#363)
Bumps [nock](https://github.com/nock/nock) from 13.3.4 to 13.3.6.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.3.4...v13.3.6)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 07:44:54 +01:00
Austin Valle
8fa54e78fa
Revert "Bump @actions/github from 5.1.1 to 6.0.0 (#355)" (#360)
This reverts commit 9c564c0569.
2023-10-19 08:05:49 -04:00
Rishav Dhar
bf6ea8ac71
Remove redundant shell definition (#358)
* remove redundant shell definition

* Revert formatting changes

* redefine shell where default is declared
2023-10-17 14:36:26 -04:00
dependabot[bot]
9c564c0569
Bump @actions/github from 5.1.1 to 6.0.0 (#355)
* Bump @actions/github from 5.1.1 to 6.0.0

Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 5.1.1 to 6.0.0.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github)

---
updated-dependencies:
- dependency-name: "@actions/github"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Running ncc build wrapper/terraform.js --out wrapper/dist && ncc build index.js --out dist

* updated dist

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Bennett <ben.bennett@hashicorp.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2023-10-17 08:13:22 -04:00
dependabot[bot]
34acbbf033
Bump nock from 13.3.3 to 13.3.4 (#356)
* Bump nock from 13.3.3 to 13.3.4

Bumps [nock](https://github.com/nock/nock) from 13.3.3 to 13.3.4.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.3.3...v13.3.4)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Running npm audit fix

* Running ncc build wrapper/terraform.js --out wrapper/dist && ncc build index.js --out dist

* updated dist

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Bennett <ben.bennett@hashicorp.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2023-10-17 08:08:50 -04:00
Janne Savikko
f231b15c96
README.md: quote terraform_version attribute value (#279)
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2023-10-17 07:20:19 -04:00
hashicorp-tsccr[bot]
e192cfcbae
Result of tsccr-helper -log-level=info -pin-all-workflows . (#353)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-10-02 17:19:43 +01:00
dependabot[bot]
f3affec3d5
Bump jest from 29.6.4 to 29.7.0 (#352)
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 29.6.4 to 29.7.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 15:56:06 -04:00
hashicorp-tsccr[bot]
2804f806e0
Result of tsccr-helper -log-level=info -pin-all-workflows . (#351)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-09-18 07:38:39 +01:00
dependabot[bot]
082dadaefd
Bump semistandard from 16.0.1 to 17.0.0 (#325)
Bumps [semistandard](https://github.com/standard/semistandard) from 16.0.1 to 17.0.0.
- [Release notes](https://github.com/standard/semistandard/releases)
- [Changelog](https://github.com/standard/semistandard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/standard/semistandard/compare/v16.0.1...v17.0.0)

---
updated-dependencies:
- dependency-name: semistandard
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 07:01:17 -04:00
dependabot[bot]
56fd7100b5
Bump semver from 6.3.0 to 6.3.1 (#333)
* Bump semver from 6.3.0 to 6.3.1

Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* updated dist

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2023-09-12 06:57:52 -04:00
dependabot[bot]
95549a3832
Bump @actions/core from 1.10.0 to 1.10.1 (#349)
* Bump @actions/core from 1.10.0 to 1.10.1

Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.10.0 to 1.10.1.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update dist

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2023-09-12 06:50:46 -04:00
dependabot[bot]
ed6db656dc
Bump @hashicorp/js-releases from 1.6.1 to 1.7.0 (#348)
* Bump @hashicorp/js-releases from 1.6.1 to 1.7.0

Bumps [@hashicorp/js-releases](https://github.com/hashicorp/js-releases) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/hashicorp/js-releases/releases)
- [Changelog](https://github.com/hashicorp/js-releases/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/js-releases/compare/v1.6.1...v1.7.0)

---
updated-dependencies:
- dependency-name: "@hashicorp/js-releases"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Running npm ci && npm run build locally and pushing

* update dist

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Bennett <ben.bennett@hashicorp.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2023-09-12 06:43:59 -04:00
dependabot[bot]
f3501afcbe
Bump @vercel/ncc from 0.36.1 to 0.38.0 (#347)
Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.36.1 to 0.38.0.
- [Release notes](https://github.com/vercel/ncc/releases)
- [Commits](https://github.com/vercel/ncc/compare/0.36.1...0.38.0)

---
updated-dependencies:
- dependency-name: "@vercel/ncc"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 08:19:03 +01:00
hashicorp-tsccr[bot]
efd0b45bf6
Result of tsccr-helper -log-level=info -pin-all-workflows . (#345)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-09-04 07:29:46 +01:00
dependabot[bot]
1e58a084c0
Bump jest from 29.6.3 to 29.6.4 (#344)
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 29.6.3 to 29.6.4.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.6.4/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-29 09:03:19 +01:00
dependabot[bot]
d862293ed5
Bump jest from 29.6.2 to 29.6.3 (#343)
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 29.6.2 to 29.6.3.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.6.3/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-22 08:58:30 +01:00
dependabot[bot]
f06312365a
Bump nock from 13.3.2 to 13.3.3 (#342)
Bumps [nock](https://github.com/nock/nock) from 13.3.2 to 13.3.3.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.3.2...v13.3.3)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-22 08:54:42 +01:00
dependabot[bot]
4a142dabfb
Bump jest from 29.6.1 to 29.6.2 (#340)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.6.1 to 29.6.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.6.2/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-28 13:27:43 -04:00
Benjamin Bennett
7f7aa023e5
Removing dependabot github actions (#339) 2023-07-28 13:05:56 -04:00
dependabot[bot]
87af952b70
Bump word-wrap from 1.2.3 to 1.2.4 (#336)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 08:14:36 -04:00
dependabot[bot]
bf5a91876f
Bump nock from 13.3.1 to 13.3.2 (#335)
Bumps [nock](https://github.com/nock/nock) from 13.3.1 to 13.3.2.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.3.1...v13.3.2)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 15:50:34 -04:00
dependabot[bot]
57bfbbc653
Bump jest from 29.5.0 to 29.6.1 (#331)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.5.0 to 29.6.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.6.1/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 09:03:28 -04:00
dependabot[bot]
93a916da3d
Bump actions/setup-node from 3.6.0 to 3.7.0 (#332)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](64ed1c7eab...e33196f742)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 06:23:37 +01:00
dependabot[bot]
55aa98b46e
Bump actions/checkout from 3.5.2 to 3.5.3 (#329)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8e5e7e5ab8...c85c95e3d7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 15:22:31 -04:00
Austin Valle
5aa9444145
[COMPLIANCE] Add copyright and license headers (#327)
* add copywrite changes

* extra slash

* [COMPLIANCE] Add copyright and license headers

* removed incorrect license

* reverted /dist

* add action.yml to copywrite ignore

* revert

* remove dist changes

* revert dist
2023-06-05 11:20:41 -04:00
Chris
1fdd4cd311
Fix incorrect GitHub environment variable mention (#321) 2023-05-03 15:13:24 -04:00
dependabot[bot]
58cd07727c
Bump nock from 13.3.0 to 13.3.1 (#320)
Bumps [nock](https://github.com/nock/nock) from 13.3.0 to 13.3.1.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.3.0...v13.3.1)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 07:54:05 +01:00
hashicorp-tsccr[bot]
0db19997f8
Result of tsccr-helper -pin-all-workflows . (#319)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-04-27 08:40:50 -04:00
dependabot[bot]
61be50777d
Bump @actions/io from 1.1.2 to 1.1.3 (#315)
* Bump @actions/io from 1.1.2 to 1.1.3

Bumps [@actions/io](https://github.com/actions/toolkit/tree/HEAD/packages/io) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/io/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/io)

---
updated-dependencies:
- dependency-name: "@actions/io"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update dist

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2023-03-22 13:28:27 -04:00
dependabot[bot]
765565da05
Bump jest from 29.4.3 to 29.5.0 (#314)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.4.3 to 29.5.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.5.0/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 08:45:28 -05:00
Austin Valle
6b752b326b
Update release workflow to work with new branch protections (#313)
* Update release workflow to work with new branch protections

* removed issue permission
2023-03-02 16:59:59 -05:00
Brian Flad
aa7ea2f4b9
.github/workflows: Add GitHub Release title to workflow (#312)
Reference: https://github.com/hashicorp/ghaction-terraform-provider-release/issues/44

```console
$ gh release create --help
Create a new GitHub Release for a repository.

A list of asset files may be given to upload to the new release. To define a
display label for an asset, append text starting with `#` after the file name.

If a matching git tag does not yet exist, one will automatically get created
from the latest state of the default branch.
Use `--target` to point to a different branch or commit for the automatic tag creation.
Use `--verify-tag` to abort the release if the tag doesn't already exist.
To fetch the new tag locally after the release, do `git fetch --tags origin`.

To create a release from an annotated git tag, first create one locally with
git, push the tag to GitHub, then run this command.

When using automatically generated release notes, a release title will also be automatically
generated unless a title was explicitly passed. Additional release notes can be prepended to
automatically generated notes by using the notes parameter.

USAGE
  gh release create [<tag>] [<files>...]

FLAGS
      --discussion-category string   Start a discussion in the specified category
  -d, --draft                        Save the release as a draft instead of publishing it
      --generate-notes               Automatically generate title and notes for the release
      --latest                       Mark this release as "Latest" (default: automatic based on date and version)
  -n, --notes string                 Release notes
  -F, --notes-file file              Read release notes from file (use "-" to read from standard input)
      --notes-start-tag string       Tag to use as the starting point for generating release notes
  -p, --prerelease                   Mark the release as a prerelease
      --target branch                Target branch or full commit SHA (default: main branch)
  -t, --title string                 Release title
      --verify-tag                   Abort in case the git tag doesn't already exist in the remote repository
```
2023-02-28 14:25:15 -05:00
dependabot[bot]
525ec9dce5
Bump miniscruff/changie-action from 1.0.0 to 1.0.1 (#311)
Bumps [miniscruff/changie-action](https://github.com/miniscruff/changie-action) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/miniscruff/changie-action/releases)
- [Changelog](https://github.com/miniscruff/changie-action/blob/main/CHANGELOG.md)
- [Commits](7d8e4c245d...b6d52c80de)

---
updated-dependencies:
- dependency-name: miniscruff/changie-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 15:24:43 -05:00
dependabot[bot]
234b25c729
Bump leonsteinhaeuser/project-beta-automations from 2.0.1 to 2.1.0 (#310)
Bumps [leonsteinhaeuser/project-beta-automations](https://github.com/leonsteinhaeuser/project-beta-automations) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/leonsteinhaeuser/project-beta-automations/releases)
- [Commits](https://github.com/leonsteinhaeuser/project-beta-automations/compare/v2.0.1...v2.1.0)

---
updated-dependencies:
- dependency-name: leonsteinhaeuser/project-beta-automations
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 15:23:47 -05:00
Selena Goods
51df13f1aa
Merge pull request #300 from hashicorp/changie-automation
Switch to Changie for changelog automation
2023-02-22 09:51:20 -05:00
SBGoods
08e201aa90 Checkout the latest commit instead of pulling for remote changes 2023-02-21 15:15:48 -05:00
Selena Goods
0d0e1dd31e
Pin setup-node action to SHA instead of major version
Co-authored-by: Brian Flad <bflad417@gmail.com>
2023-02-21 12:07:05 -05:00
SBGoods
f0d0d96875 Add entry for v2.0.3 2023-02-21 12:06:02 -05:00
dependabot[bot]
8c01c536be
Bump jest from 29.4.1 to 29.4.3 (#308)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.4.1 to 29.4.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.4.3/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-21 08:45:23 -05:00
Selena Goods
a405e92ab1
Merge branch 'main' into changie-automation 2023-02-09 16:50:32 -05:00
SBGoods
8972b88921 Add job to update package version 2023-02-09 16:48:43 -05:00
SBGoods
a0b152b5df Add steps to update major version tag 2023-02-09 16:39:54 -05:00
Brian Flad
d3026307a0
Remove wrapper package.json (#302)
Reference: https://github.com/hashicorp/setup-terraform/issues/290

The `wrapper` directory contains the JavaScript wrapper for the Terraform binary. It currently contains a `package.json` and lock file, however this code is not packaged and released separately. Having the separate package makes it unnecessarily difficult to ensure the subdirectory is built correctly and dependencies are up to date.

This change removes the `wrapper` package files and consolidates the test, lint, and build logic into the main `package.json`.
2023-02-09 10:36:54 -05:00
Brian Flad
1d777b53ee
deps: Bump all development dependencies and fix check-dist (#301)
Reference: https://github.com/hashicorp/setup-terraform/pull/285
Reference: https://github.com/hashicorp/setup-terraform/pull/286
Reference: https://github.com/hashicorp/setup-terraform/pull/288
Reference: https://github.com/hashicorp/setup-terraform/pull/291
Reference: https://github.com/hashicorp/setup-terraform/pull/292

```shell
npm install '@vercel/ncc@0.36.1'
npm install 'husky@8.0.3'
npm install 'jest@29.4.1'
npm install 'nock@13.3.0'
pushd wrapper
npm install '@vercel/ncc@0.36.1'
npm install 'jest@29.4.1'
npm audit fix # json5@1.0.2 security fix
popd
npm run build
```
2023-02-09 10:05:39 -05:00
dependabot[bot]
225afc4e17
Bump atlassian/gajira-transition from 3.0.0 to 3.0.1 (#294)
Bumps [atlassian/gajira-transition](https://github.com/atlassian/gajira-transition) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/atlassian/gajira-transition/releases)
- [Commits](4749176faf...38fc9cd61b)

---
updated-dependencies:
- dependency-name: atlassian/gajira-transition
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-09 09:15:13 -05:00
dependabot[bot]
b69ccc5640
Bump atlassian/gajira-create from 3.0.0 to 3.0.1 (#293)
Bumps [atlassian/gajira-create](https://github.com/atlassian/gajira-create) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/atlassian/gajira-create/releases)
- [Commits](1ff0b6bd11...59e177c4f6)

---
updated-dependencies:
- dependency-name: atlassian/gajira-create
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update .github/workflows/send-to-jira.yml

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brian Flad <bflad417@gmail.com>
2023-02-09 09:13:30 -05:00
SBGoods
eed2545295 Switch to Changie for changelog automation 2023-02-08 15:32:40 -05:00
Dave Parfitt
8b59f414e1
Merge pull request #287 from hashicorp/add_jira_sync
Add Jira automation
2023-01-25 11:43:51 -05:00
Austin Valle
66d3914cff Merge branch 'main' into add_jira_sync 2023-01-25 11:12:28 -05:00
dependabot[bot]
e9f70b5b88
Bump json5 from 2.2.1 to 2.2.3 (#283)
* Bump json5 from 2.2.1 to 2.2.3

Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* update /dist

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2023-01-25 11:10:11 -05:00
Dave Parfitt
ced4e07081 Add Jira automation 2023-01-24 15:20:41 -05:00
Brian Flad
97112244d3
.github/workflows: Use actions/reusable-workflows for CI validation (#282)
Reference: https://github.com/actions/reusable-workflows
Reference: a8533f184b/.github/workflows/basic-validation.yml
Reference: a8533f184b/.github/workflows/check-dist.yml

Simplify the project's CI by using the recently developed actions/reusable-workflows for testing and dist/ compilation checking.

Recompiled `dist/` via `npm run build`
2022-12-22 10:51:35 -05:00
Benjamin Bennett
8feba2b913
Merge pull request #263 from hashicorp/dependabot/npm_and_yarn/wrapper/vercel/ncc-0.34.0
Bump @vercel/ncc from 0.33.3 to 0.34.0 in /wrapper
2022-11-15 07:15:43 +00:00
dependabot[bot]
4a9d2ae03e
Bump @vercel/ncc from 0.33.3 to 0.34.0 in /wrapper
Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.33.3 to 0.34.0.
- [Release notes](https://github.com/vercel/ncc/releases)
- [Commits](https://github.com/vercel/ncc/compare/0.33.3...0.34.0)

---
updated-dependencies:
- dependency-name: "@vercel/ncc"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-15 07:11:42 +00:00
Benjamin Bennett
abbee59a42
Merge pull request #274 from hashicorp/dependabot/npm_and_yarn/wrapper/jest-29.3.1
Bump jest from 27.5.1 to 29.3.1 in /wrapper
2022-11-15 07:10:54 +00:00
dependabot[bot]
3f2da7835b
Bump jest from 27.5.1 to 29.3.1 in /wrapper
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 27.5.1 to 29.3.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.3.1/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-15 07:04:50 +00:00
Benjamin Bennett
beec8186ce
Merge pull request #273 from hashicorp/dependabot/npm_and_yarn/jest-29.3.1
Bump jest from 29.1.2 to 29.3.1
2022-11-15 07:02:05 +00:00
dependabot[bot]
4756a5b786
Bump jest from 29.1.2 to 29.3.1
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.1.2 to 29.3.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.3.1/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-15 06:56:53 +00:00
Benjamin Bennett
51b495f6a8
Merge pull request #272 from hashicorp/dependabot/npm_and_yarn/husky-8.0.2
Bump husky from 8.0.1 to 8.0.2
2022-11-15 06:55:27 +00:00
dependabot[bot]
e7ad2a5a68
Bump husky from 8.0.1 to 8.0.2
Bumps [husky](https://github.com/typicode/husky) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v8.0.1...v8.0.2)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 18:00:32 +00:00
Benjamin Bennett
633666f66e
Merge pull request #247 from hashicorp/dependabot/npm_and_yarn/actions/core-1.10.0
Bump @actions/core from 1.9.1 to 1.10.0
2022-11-01 16:16:23 +00:00
Benjamin Bennett
73d00bf3fd Updating dependencies in /wrapper/package.json and rebuilding 2022-10-26 18:08:21 +01:00
Benjamin Bennett
b3bda2d04e
Merge pull request #260 from hashicorp/add-wrapper-dir-to-dependabot
Adding `/wrapper` directory to dependabot.yml
2022-10-26 15:07:45 +01:00
Benjamin Bennett
1d7d135e40 Adding /wrapper directory to dependabot.yml 2022-10-26 13:52:44 +01:00
Brian Flad
a2a0e9d877
Merge pull request #256 from hashicorp/compliance/add-license 2022-10-12 17:25:05 -04:00
hashicorp-copywrite[bot]
024f81c112 [COMPLIANCE] Update MPL 2.0 LICENSE 2022-10-12 20:57:36 +00:00
James Pogran
bbe167fbda
Release 2.0.2 (#254) 2022-10-12 08:35:43 -04:00
Peter Mescalchin
6f80dc740b
README.md updates - direct links to license and code of conduct, updated GitHub documents link (#244)
* Reference `LICENSE` and `CODE_OF_CONDUCT.md` directly to avoid incorrect branch name in URL

* Update GitHub docs link
2022-10-12 08:20:02 -04:00
dependabot[bot]
98a64d4b0b
Bump jest from 29.0.3 to 29.1.2 (#248)
* Bump jest from 29.0.3 to 29.1.2

Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.0.3 to 29.1.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.1.2/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Pogran <jpogran@outlook.com>
2022-10-12 08:14:07 -04:00
James Pogran
2ed08d82a6
Update 2.0.1 release metadata (#253) 2022-10-12 08:08:15 -04:00
Avishai Carmel
98db1427e3
Fix the example of how to comment on pull request. (#220)
It doesn't work without granting permissions.
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
2022-10-12 07:49:47 -04:00
dependabot[bot]
72674f1600
Bump @actions/core from 1.9.1 to 1.10.0
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.9.1 to 1.10.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 08:07:39 +00:00
Benjamin Bennett
a549f5e36f
Merge pull request #250 from hashicorp/dependabot/github_actions/leonsteinhaeuser/project-beta-automations-2.0.1
Bump leonsteinhaeuser/project-beta-automations from 2.0.0 to 2.0.1
2022-10-04 09:06:59 +01:00
Benjamin Bennett
cf8fe30da8
Merge pull request #249 from hashicorp/dependabot/npm_and_yarn/actions/github-5.1.1
Bump @actions/github from 5.0.3 to 5.1.1
2022-10-04 09:06:11 +01:00
dependabot[bot]
c016a46e74
Bump leonsteinhaeuser/project-beta-automations from 2.0.0 to 2.0.1
Bumps [leonsteinhaeuser/project-beta-automations](https://github.com/leonsteinhaeuser/project-beta-automations) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/leonsteinhaeuser/project-beta-automations/releases)
- [Commits](https://github.com/leonsteinhaeuser/project-beta-automations/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: leonsteinhaeuser/project-beta-automations
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 18:26:42 +00:00
dependabot[bot]
0258cdf64e
Bump @actions/github from 5.0.3 to 5.1.1
Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 5.0.3 to 5.1.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github)

---
updated-dependencies:
- dependency-name: "@actions/github"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 18:01:31 +00:00
Peter Mescalchin
4f5ea8bbca
Update GitHub workflow branch triggers from master -> main (#216) 2022-09-17 17:18:44 -04:00
Renaud
174039b7cd
Updated README to reflect GitHub limitations (#205)
* Updated README to reflect GitHub limitations

As GH comments cannot be over a certain size, providing a notice with an alternative.
2022-09-16 12:03:51 -04:00
Peter Mescalchin
1f367ab8a7
Add new-style readme build badges, bump actions/checkout in README.md examples (#188)
* Add new style workflow badges to `README.md`

* `README.md` whitespace cleanup

* Bump `actions/checkout@v3` in `README.md`
2022-09-16 12:01:55 -04:00
dependabot[bot]
b3a43c3034
Bump @actions/core from 1.6.0 to 1.9.1 in /wrapper (#236)
* Bump @actions/core from 1.6.0 to 1.9.1 in /wrapper

Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.6.0 to 1.9.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Pogran <jpogran@outlook.com>
2022-09-16 11:53:05 -04:00
dependabot[bot]
4a15f710d1
Bump @actions/core from 1.8.2 to 1.9.1 (#235)
* Bump @actions/core from 1.8.2 to 1.9.1

Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.8.2 to 1.9.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Pogran <jpogran@outlook.com>
2022-09-16 11:42:56 -04:00
dependabot[bot]
1ba957b560
Bump @hashicorp/js-releases from 1.5.1 to 1.6.1 (#226)
* Bump @hashicorp/js-releases from 1.5.1 to 1.6.1

Bumps [@hashicorp/js-releases](https://github.com/hashicorp/js-releases) from 1.5.1 to 1.6.1.
- [Release notes](https://github.com/hashicorp/js-releases/releases)
- [Changelog](https://github.com/hashicorp/js-releases/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/js-releases/compare/v1.5.1...v1.6.1)

---
updated-dependencies:
- dependency-name: "@hashicorp/js-releases"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Pogran <jpogran@outlook.com>
2022-09-16 11:29:12 -04:00
dependabot[bot]
87c20886f5
Bump jest from 28.1.3 to 29.0.3 (#242)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.1.3 to 29.0.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.0.3/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-16 11:03:59 -04:00
Benjamin Bennett
4564436702
Merge pull request #243 from hashicorp/dependabot/github_actions/leonsteinhaeuser/project-beta-automations-2.0.0
Bump leonsteinhaeuser/project-beta-automations from 1.3.0 to 2.0.0
2022-09-13 08:19:26 +01:00
dependabot[bot]
b2ab8506ab
Bump leonsteinhaeuser/project-beta-automations from 1.3.0 to 2.0.0
Bumps [leonsteinhaeuser/project-beta-automations](https://github.com/leonsteinhaeuser/project-beta-automations) from 1.3.0 to 2.0.0.
- [Release notes](https://github.com/leonsteinhaeuser/project-beta-automations/releases)
- [Commits](https://github.com/leonsteinhaeuser/project-beta-automations/compare/v1.3.0...v2.0.0)

---
updated-dependencies:
- dependency-name: leonsteinhaeuser/project-beta-automations
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 18:22:05 +00:00
Benjamin Bennett
7fb1a078d5
Merge pull request #233 from hashicorp/dependabot/github_actions/leonsteinhaeuser/project-beta-automations-1.3.0
Bump leonsteinhaeuser/project-beta-automations from 1.2.1 to 1.3.0
2022-08-09 08:23:28 +01:00
dependabot[bot]
d8f7c30c7f
Bump leonsteinhaeuser/project-beta-automations from 1.2.1 to 1.3.0
Bumps [leonsteinhaeuser/project-beta-automations](https://github.com/leonsteinhaeuser/project-beta-automations) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/leonsteinhaeuser/project-beta-automations/releases)
- [Commits](https://github.com/leonsteinhaeuser/project-beta-automations/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: leonsteinhaeuser/project-beta-automations
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 18:15:31 +00:00
Ivan De Marino
5b467ee49e
Merge pull request #225 from hashicorp/dependabot/npm_and_yarn/nock-13.2.9
Bump nock from 13.2.7 to 13.2.9
2022-07-21 12:10:02 +01:00
dependabot[bot]
1e62c19d7b
Bump nock from 13.2.7 to 13.2.9
Bumps [nock](https://github.com/nock/nock) from 13.2.7 to 13.2.9.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.2.7...v13.2.9)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-21 11:06:17 +00:00
Ivan De Marino
6719a23721
Merge pull request #224 from hashicorp/dependabot/npm_and_yarn/jest-28.1.3
Bump jest from 28.1.2 to 28.1.3
2022-07-21 12:05:29 +01:00
dependabot[bot]
d8fba15354
Bump jest from 28.1.2 to 28.1.3
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.1.2 to 28.1.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v28.1.3/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 18:01:20 +00:00
Benjamin Bennett
78ea3ac2fb
Merge pull request #221 from hashicorp/dependabot/npm_and_yarn/jest-28.1.2
Bump jest from 28.1.1 to 28.1.2
2022-07-05 08:31:49 +01:00
dependabot[bot]
0dd09f9125
Bump jest from 28.1.1 to 28.1.2
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.1.1 to 28.1.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v28.1.2/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 18:01:26 +00:00
Ivan De Marino
b714c4b766
Merge pull request #217 from hashicorp/dependabot/npm_and_yarn/nock-13.2.7
Bump nock from 13.2.6 to 13.2.7
2022-06-21 11:51:58 +01:00
dependabot[bot]
afe5aedc72
Bump nock from 13.2.6 to 13.2.7
Bumps [nock](https://github.com/nock/nock) from 13.2.6 to 13.2.7.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.2.6...v13.2.7)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 18:01:03 +00:00
Ivan De Marino
3fedce6b38
Merge pull request #215 from hashicorp/dependabot/npm_and_yarn/jest-28.1.1
Bump jest from 28.1.0 to 28.1.1
2022-06-14 12:46:34 +01:00
dependabot[bot]
614ce8b269
Bump jest from 28.1.0 to 28.1.1
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.1.0 to 28.1.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v28.1.1/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 18:01:44 +00:00
Ivan De Marino
6727c64798
Merge pull request #210 from hashicorp/dependabot/npm_and_yarn/vercel/ncc-0.34.0
Bump @vercel/ncc from 0.33.4 to 0.34.0
2022-06-07 12:25:00 +01:00
dependabot[bot]
27c0f50531
Bump @vercel/ncc from 0.33.4 to 0.34.0
Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.33.4 to 0.34.0.
- [Release notes](https://github.com/vercel/ncc/releases)
- [Commits](https://github.com/vercel/ncc/compare/0.33.4...0.34.0)

---
updated-dependencies:
- dependency-name: "@vercel/ncc"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-07 11:21:59 +00:00
Ivan De Marino
c89ecdae18
Merge pull request #212 from hashicorp/dependabot/npm_and_yarn/nock-13.2.6
Bump nock from 13.2.4 to 13.2.6
2022-06-07 12:21:19 +01:00
dependabot[bot]
55427ab91e
Bump nock from 13.2.4 to 13.2.6
Bumps [nock](https://github.com/nock/nock) from 13.2.4 to 13.2.6.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.2.4...v13.2.6)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 18:01:10 +00:00
Ivan De Marino
97360ea164
Merge pull request #204 from hashicorp/detro/tfdevex_repo_adoption
TF DevEx: repo adoption
2022-05-19 18:33:10 +01:00
Ivan De Marino
8d6e47a98a Add new Issues/PRs to TF Provider DevEx team board 2022-05-19 15:54:27 +01:00
Ivan De Marino
9a60eb5810 Git-ignoring Jetbrains IDEs files 2022-05-19 15:54:08 +01:00
Ivan De Marino
f867ed4a85 Setting @hashicorp/terraform-devex as Code Owners 2022-05-19 15:53:54 +01:00
dependabot[bot]
a8f5b8baea
Bump @actions/tool-cache from 1.7.2 to 2.0.1 (#199)
* Bump @actions/tool-cache from 1.7.2 to 2.0.1

Bumps [@actions/tool-cache](https://github.com/actions/toolkit/tree/HEAD/packages/tool-cache) from 1.7.2 to 2.0.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/tool-cache/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/tool-cache)

---
updated-dependencies:
- dependency-name: "@actions/tool-cache"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @actions/tool-cache from 1.7.2 to 2.0.1

Bumps [@actions/tool-cache](https://github.com/actions/toolkit/tree/HEAD/packages/tool-cache) from 1.7.2 to 2.0.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/tool-cache/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/tool-cache)

---
updated-dependencies:
- dependency-name: "@actions/tool-cache"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* run build

* run build

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Pogran <jpogran@outlook.com>
2022-05-18 09:46:09 -04:00
dependabot[bot]
fd04bcc270
Bump @actions/core from 1.7.0 to 1.8.2 (#200)
* Bump @actions/core from 1.7.0 to 1.8.2

Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.7.0 to 1.8.2.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* run build

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Pogran <jpogran@outlook.com>
2022-05-18 09:19:53 -04:00
dependabot[bot]
f808081412
Bump @actions/github from 5.0.1 to 5.0.3 (#201)
Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 5.0.1 to 5.0.3.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github)

---
updated-dependencies:
- dependency-name: "@actions/github"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-18 09:07:26 -04:00
dependabot[bot]
e7ed507545
Bump jest from 28.0.3 to 28.1.0 (#194)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.0.3 to 28.1.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v28.1.0/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-18 09:06:51 -04:00
dependabot[bot]
351ab80976
Bump husky from 7.0.4 to 8.0.1 (#193)
Bumps [husky](https://github.com/typicode/husky) from 7.0.4 to 8.0.1.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v7.0.4...v8.0.1)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-18 09:03:45 -04:00
Yordan Ibishev
62a66eef78
Support detailed exit codes. (#125)
* feat(action): Support detailed exit codes. 

This should allow plans to succeed using the terraform_wrapper functionality whenever an exit code of 2 is returned.
https://www.terraform.io/docs/cli/commands/plan.html#detailed-exitcode

- This is useful for adding custom steps in our GitHub action workflows.
- Not a Javascript developer so Im not sure how valid the OR condition is.

Co-authored-by: James Pogran <jpogran@outlook.com>
2022-05-18 08:47:46 -04:00
dependabot[bot]
d6a45b7634
Bump jest from 28.0.0 to 28.0.3 (#190)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.0.0 to 28.0.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v28.0.3/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09 13:19:48 -04:00
Jonathan Camara
8aaee7fab8
Fix terraform extract (#187)
On Windows runners, extracting the downloaded CLI zip file was failing because the file didn't have a .zip extension. This commit attempts to solve the problem by adding the extension to the downloaded file before extraction.
2022-05-09 13:19:28 -04:00
dependabot[bot]
8b4c280fc8
Bump jest from 27.5.1 to 28.0.0 (#184)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 27.5.1 to 28.0.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v28.0.0/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-27 10:24:48 -04:00
dependabot[bot]
dbb2170bef
Bump @vercel/ncc from 0.33.3 to 0.33.4 (#182)
Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.33.3 to 0.33.4.
- [Release notes](https://github.com/vercel/ncc/releases)
- [Commits](https://github.com/vercel/ncc/compare/0.33.3...0.33.4)

---
updated-dependencies:
- dependency-name: "@vercel/ncc"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-27 10:24:35 -04:00
dependabot[bot]
f76ce99249
Bump @actions/core from 1.6.0 to 1.7.0 (#185)
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Pogran <jpogran@outlook.com>
2022-04-27 10:19:42 -04:00
James Pogran
17d4c9b804
Release 2.0.0 (#181) 2022-04-18 09:53:12 -04:00
Rui Chen
b432b56155
dependabot: track github-actions dependency changes (#179)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-04-18 09:37:16 -04:00
Dustin Dortch
2370d83cb7
Update README.md (#180)
Grammar update for “outputs are” instead of “outputs is”
2022-04-18 09:35:46 -04:00
Rui Chen
d5cbd3fe79
Upgrade Nodejs runtime from 12 to 16 (#170)
This updates the NodeJS runtime version from 12 to 16. NodeJS 12 is EOL on 4/30/2022. NodeJS 16 is supported on all Github Actions Runners v2.285.0 or later.

Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: James Pogran <jpogran@outlook.com>
2022-04-08 08:52:09 -04:00
Kerim Satirli
f9adc4c805
Update Terraform versions and usage in README examples (#176) 2022-04-08 08:25:40 -04:00
dependabot[bot]
ccba56d7fe
Bump @actions/github from 5.0.0 to 5.0.1 (#177)
Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github)

---
updated-dependencies:
- dependency-name: "@actions/github"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-08 08:24:47 -04:00
Tobias Büschel
b11dc8ad77
docs: update existing PR comments example (#178) 2022-04-08 08:24:17 -04:00
James Pogran
ed3a053187
Release 1.4.0 (#175) 2022-04-04 10:16:33 -04:00
James Pogran
ec29f6acb9
Update Changelog (#174)
* Update Changelog

This formats the changelog according to HashiCorp standards and brings the unreleased section up to date.

* f
2022-04-04 10:02:12 -04:00
James Pogran
3672145e4b
Add GitHub automatic release (#173)
This automatically creates a GitHub release when a matching tag is created in this repository.
2022-04-04 09:38:08 -04:00
dependabot[bot]
c584f13cd4
Bump minimist from 1.2.5 to 1.2.6 in /wrapper (#169)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-30 12:54:17 -04:00
dependabot[bot]
0b8a5fa465
Bump @actions/io from 1.1.1 to 1.1.2 (#165)
Bumps [@actions/io](https://github.com/actions/toolkit/tree/HEAD/packages/io) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/io/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/io)

---
updated-dependencies:
- dependency-name: "@actions/io"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-30 12:49:39 -04:00
dependabot[bot]
bf7f67af12
Bump @actions/tool-cache from 1.7.1 to 1.7.2 (#164)
Bumps [@actions/tool-cache](https://github.com/actions/toolkit/tree/HEAD/packages/tool-cache) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/tool-cache/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/tool-cache)

---
updated-dependencies:
- dependency-name: "@actions/tool-cache"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-30 12:42:32 -04:00
dependabot[bot]
16efed96c3
Bump minimist from 1.2.5 to 1.2.6 (#168)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-30 12:37:25 -04:00
dependabot[bot]
299372d977
Bump @hashicorp/js-releases from 1.5.0 to 1.5.1 (#166)
* Bump @hashicorp/js-releases from 1.5.0 to 1.5.1

Bumps [@hashicorp/js-releases](https://github.com/hashicorp/js-releases) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/hashicorp/js-releases/releases)
- [Changelog](https://github.com/hashicorp/js-releases/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/js-releases/compare/v1.5.0...v1.5.1)

---
updated-dependencies:
- dependency-name: "@hashicorp/js-releases"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* run build

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Pogran <jpogran@outlook.com>
2022-03-30 12:36:25 -04:00
James Pogran
d1d9ce119f
Bump @actions/io from 1.1.0 to 1.1.1 (#162)
Bumps [@actions/io](https://github.com/actions/toolkit/tree/HEAD/packages/io) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/io/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/@actions/tool-cache@1.1.1/packages/io)
2022-03-08 11:10:40 -05:00
James Pogran
93b480fa28
Bump @actions/exec from 1.0.4 to 1.1.0 (#161)
* Bump @actions/exec from 1.0.4 to 1.1.0

Bumps [@actions/exec](https://github.com/actions/toolkit/tree/HEAD/packages/exec) from 1.0.4 to 1.1.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/exec/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/exec)
2022-03-08 10:57:57 -05:00
James Pogran
5369c899c5
Bump @actions/core from 1.2.7 to 1.6.0 (#160)
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.7 to 1.6.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)
2022-03-08 10:42:25 -05:00
dependabot[bot]
c7ea71e1c2
Bump @actions/tool-cache from 1.6.1 to 1.7.1 (#159)
* Bump @actions/tool-cache from 1.6.1 to 1.7.1

Bumps [@actions/tool-cache](https://github.com/actions/toolkit/tree/HEAD/packages/tool-cache) from 1.6.1 to 1.7.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/tool-cache/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/tool-cache)

---
updated-dependencies:
- dependency-name: "@actions/tool-cache"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Pogran <jpogran@outlook.com>
2022-03-08 10:28:04 -05:00
dependabot[bot]
216ffedc57
Bump @actions/core from 1.2.7 to 1.6.0 (#158)
* Bump @actions/core from 1.2.7 to 1.6.0

Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.7 to 1.6.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Pogran <jpogran@outlook.com>
2022-03-08 10:27:46 -05:00
dependabot[bot]
7e9b27c81d
Bump @actions/io from 1.1.0 to 1.1.1 (#156)
* Bump @actions/io from 1.1.0 to 1.1.1

Bumps [@actions/io](https://github.com/actions/toolkit/tree/HEAD/packages/io) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/io/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/@actions/tool-cache@1.1.1/packages/io)

---
updated-dependencies:
- dependency-name: "@actions/io"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Pogran <jpogran@outlook.com>
2022-03-07 13:13:06 -05:00
dependabot[bot]
4908ad92bb
Bump @actions/github from 4.0.0 to 5.0.0 (#114)
Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 13:00:28 -05:00
Scott Merrill
453864b4d0
Improve output for PR comment (#129) 2022-03-07 11:04:19 -05:00
dependabot[bot]
8f8acda720
Bump node-fetch from 2.6.1 to 2.6.7 (#154)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-04 11:26:46 -05:00
Kyle Jackson
9cfb6b62dd
Allow proxy values to be set (#147)
This action fails behind a proxy, this PR updates hashicorp/js-releases from 1.40 to 1.50 which should allow a proxy to be set.

- bump hashicorp/js-releases from 1.40 to 1.50

Fixes #17

Co-authored-by: James Pogran <jpogran@outlook.com>
2022-03-04 11:18:33 -05:00
James Pogran
ca6738af70
Bump development dependencies (#153)
Bumps [semistandard](https://github.com/standard/semistandard) from 14.2.0 to 16.0.1.
- [Release notes](https://github.com/standard/semistandard/releases/tag/v16.0.1)
- [Commits](standard/semistandard@v14.2.0...v16.0.1)

Bumps [nock](https://github.com/nock/nock) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/nock/nock/releases/tag/v13.2.4)
- [Commits](nock/nock@v13.0.11...v13.2.4)

Bumps [jest](https://github.com/facebook/jest) from 26.6.3 to 27.5.1.
- [Release notes](https://github.com/facebook/jest/releases/tag/v27.5.1)
- [Commits](facebook/jest@v26.6.3...v27.5.1)

Bumps [husky](https://github.com/typicode/husky) from 6.0.0 to 7.0.4.
- [Release notes](https://github.com/typicode/husky/releases/tag/v7.0.4)
- [Commits](typicode/husky@v6.0.0...v7.0.4)

Bumps [ncc](https://github.com/vercel/ncc) from 0.28.5 to 0.33.3.
- [Release notes](https://github.com/vercel/ncc/releases/tag/0.33.3)
- [Commits](vercel/ncc@0.28.5...0.33.3)
2022-03-04 10:53:57 -05:00
Shouichi Kamiya
96784e4df3
Update actions/github-script to v6 in README (#148) 2022-03-03 19:45:07 -05:00
Ken Kaizu
b11809b830
Update readme using github-script@v5 (#135) 2022-03-03 19:36:33 -05:00
Audrey Eschright
625cb76050
Update husky to v6.0 (#113) 2021-05-13 16:11:00 -07:00
Audrey Eschright
b074dafd7e
Update CHANGELOG.md 2021-05-13 15:51:56 -07:00
Nicholas Drone
6cb54dbd0b
Update readme example (#86)
adds code styling around validation status, and fixes the code block for the issue body creation.
2021-05-13 15:20:26 -07:00
Audrey Eschright
9095b20a9e
Update js-releases to v1.4.0 (#111)
* Update js-releases to v1.4.0
* Update dependency @vercel/ncc
2021-05-13 15:15:06 -07:00
John Losito
9771d0c9cd
Allow dependabot to check node modules (#87) 2021-04-20 11:42:48 -07:00
Audrey Eschright
3d8debd658 1.3.2 2020-12-09 12:27:44 -08:00
Audrey Eschright
d875216a97 Update changelog 2020-12-09 12:23:18 -08:00
Audrey Eschright
a504130155
Update js-releases to fix missing dep in bundle (#78) 2020-12-09 12:21:26 -08:00
Audrey Eschright
5beb956c8b 1.3.1 2020-12-08 13:51:08 -08:00
Audrey Eschright
5dcd709054 Update changelog 2020-12-08 13:51:00 -08:00
Audrey Eschright
617d9d54a6
Fix build dependency: ncc (#76) 2020-12-08 13:49:34 -08:00
Audrey Eschright
0822d03675 1.3.0 2020-12-08 11:39:01 -08:00
Audrey Eschright
7a615fb9ad Update changelog 2020-12-08 11:38:07 -08:00
Audrey Eschright
5d2ec201a9
Document pre-release behavior (#73)
* Add user agent reporting to terraform download
* Upgrade js-releases dependency
2020-12-08 11:26:01 -08:00
Audrey Eschright
32c4f59108
Switch to @hashicorp/js-releases for finding correct package to install (#70) 2020-12-01 10:49:15 -08:00
Alex Jurkiewicz
4c5048fbaf
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.
2020-11-05 15:57:38 -08:00
Audrey Eschright
d22444889a 1.2.1 2020-10-30 13:09:12 -07:00
Audrey Eschright
dfcfcd339b Update changelog for #63 2020-10-30 13:08:52 -07:00
Audrey Eschright
ccd38093bb
Upgrade dependencies and clean up package config (#63) 2020-10-30 13:07:27 -07:00
Paul Tyng
c8ed59d824
Add disclaimer 2020-10-27 15:33:24 -04:00
Matthew Sanabria
f0e69a3f87
Update README.md (#50) 2020-09-17 09:59:58 -04:00
Nick
b976864f20
Fix version examples (#48)
The incorrect versions threw me off and resulted in a strange error:

```
(s || "").replace is not a function
```
2020-09-14 21:27:25 -04:00
dependabot[bot]
ae603c4b3a
Bump lodash from 4.17.15 to 4.17.19 in /wrapper (#28)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 13:54:09 -04:00
dependabot[bot]
ea8262d207
Bump lodash from 4.17.15 to 4.17.19 (#29)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 13:53:51 -04:00
Kazuki Higashiguchi
5399fe7c28
update sample yml terraform fmt -check (#44) 2020-09-08 13:50:49 -04:00
Matthew Sanabria
15ba5bd056
Update CHANGELOG.md 2020-09-08 11:46:52 -04:00
Matthew Sanabria
ec552d11bc
Adding tests for version constraints (#45)
* Adding tests for version constraints

* Update test names
2020-09-08 11:36:35 -04:00
Jarek Potiuk
af8505ef0a
Allow to specify range specification instead of fixed version (#38)
That allows to install for example the latest bug-fix version of
terraform 1.12.* even if 1.13 is already installed.

Co-authored-by: Matthew Sanabria <24284972+sudomateo@users.noreply.github.com>
2020-09-08 10:18:09 -04:00
Matthew Sanabria
e255dfd077
Create CHANGELOG.md 2020-06-18 20:06:47 -04:00
Alex Jurkiewicz
70ec49405b
Ignore pre-release versions for 'latest' (#19)
* Ignore pre-release versions for 'latest'

Fixes #16

* Note the real version when using 'latest'
2020-06-18 20:02:28 -04:00
Kabir Bolatito
da17847d11
Update README.md (#11)
* Update README.md

PR Comment is a big plus to why we opt to use Terraform Github actions. Updated the readme file so that everyone will understand how to take advantage of the terraform concise on PR comment capability

* Update README.md

updated

* Update README.md

replaced the existing example
2020-05-21 10:36:02 -04:00
chenrui
813167dada
Wrap the tf plan output so it is more readable in the PR (#10)
* Wrap the tf plan output so it is more readable in the PR

* Remove extra period.

Co-authored-by: Matthew Sanabria <24284972+sudomateo@users.noreply.github.com>

Co-authored-by: Matthew Sanabria <24284972+sudomateo@users.noreply.github.com>
2020-05-15 13:27:42 -04:00
chenrui
3301b9a828
Bump terraform to v0.12.25 (#8)
* Bump terraform to v0.12.25

* Update version ref and tests per PR suggestion
2020-05-14 22:41:26 -04:00
Alex Jurkiewicz
d06122d8cc
Document cli_config_credentials_hostname default (#6) 2020-05-12 10:31:14 -04:00
Matthew Sanabria
6aaacb54d0
Update README.md
Minor typo fix.
2020-05-06 22:45:26 -04:00
Matthew Sanabria
13d452e5e3
Merge pull request #2 from hashicorp/docs/readme-updates
Updating README
2020-05-05 19:52:11 -04:00
Matthew Sanabria
0f3b6675b9 Updating README 2020-05-05 19:46:33 -04:00
Matthew Sanabria
6a6b2bae2d
Merge pull request #1 from hashicorp/dependabot/npm_and_yarn/actions/http-client-1.0.8
Bump @actions/http-client from 1.0.6 to 1.0.8
2020-04-30 10:46:53 -04:00
Matthew Sanabria
2f973eff69 Updating dist/index.js 2020-04-30 10:42:16 -04:00
dependabot[bot]
6b7c9504c1
Bump @actions/http-client from 1.0.6 to 1.0.8
Bumps [@actions/http-client](https://github.com/actions/http-client) from 1.0.6 to 1.0.8.
- [Release notes](https://github.com/actions/http-client/releases)
- [Changelog](https://github.com/actions/http-client/blob/master/RELEASES.md)
- [Commits](https://github.com/actions/http-client/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-04-29 18:06:16 +00:00
41 changed files with 88073 additions and 19659 deletions

169
.changes/2.0.3.md Normal file
View file

@ -0,0 +1,169 @@
# [2.0.3] (2022-11-01)
### NOTES
* Reduced occurrences of GitHub Actions warnings for setting output [#247](https://github.com/hashicorp/setup-terraform/pull/247)
# [2.0.2] (2022-10-12)
### BUG FIXES
* Update 2.0.1 release metadata by @jpogran in https://github.com/hashicorp/setup-terraform/pull/253
* `README.md` updates - direct links to license and code of conduct, updated GitHub documents link by @magnetikonline in https://github.com/hashicorp/setup-terraform/pull/244
### INTERNAL
* Bump jest from 29.0.3 to 29.1.2 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/248
# [2.0.1] (2022-10-12)
### ENHANCEMENTS
* Do not fail when theres an exit-code 2 by @dannyibishev in https://github.com/hashicorp/setup-terraform/pull/125
* Updated README to reflect GitHub limitations by @rnsc in https://github.com/hashicorp/setup-terraform/pull/205
### BUG FIXES
* Fix terraform extract by @cpc-camarj in https://github.com/hashicorp/setup-terraform/pull/187
* Add new-style readme build badges, bump `actions/checkout` in `README.md` examples by @magnetikonline in https://github.com/hashicorp/setup-terraform/pull/188
* Fixed `master` to `main` workflow branch triggers by @magnetikonline in https://github.com/hashicorp/setup-terraform/pull/216
* Fix the example of how to comment on pull request. by @acarmel in https://github.com/hashicorp/setup-terraform/pull/220
### INTERNAL
* Bump @actions/core from 1.6.0 to 1.7.0 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/185
* Bump @vercel/ncc from 0.33.3 to 0.33.4 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/182
* Bump jest from 27.5.1 to 28.0.0 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/184
* Bump jest from 28.0.0 to 28.0.3 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/190
* Bump husky from 7.0.4 to 8.0.1 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/193
* Bump jest from 28.0.3 to 28.1.0 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/194
* Bump @actions/github from 5.0.1 to 5.0.3 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/201
* Bump @actions/core from 1.7.0 to 1.8.2 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/200
* Bump @actions/tool-cache from 1.7.2 to 2.0.1 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/199
* TF DevEx: repo adoption by @detro in https://github.com/hashicorp/setup-terraform/pull/204
* Bump nock from 13.2.4 to 13.2.6 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/212
* Bump @vercel/ncc from 0.33.4 to 0.34.0 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/210
* Bump jest from 28.1.0 to 28.1.1 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/215
* Bump nock from 13.2.6 to 13.2.7 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/217
* Bump jest from 28.1.1 to 28.1.2 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/221
* Bump jest from 28.1.2 to 28.1.3 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/224
* Bump nock from 13.2.7 to 13.2.9 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/225
* Bump leonsteinhaeuser/project-beta-automations from 1.2.1 to 1.3.0 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/233
* Bump leonsteinhaeuser/project-beta-automations from 1.3.0 to 2.0.0 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/243
* Bump jest from 28.1.3 to 29.0.3 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/242
* Bump @hashicorp/js-releases from 1.5.1 to 1.6.1 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/226
* Bump @actions/core from 1.8.2 to 1.9.1 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/235
* Bump @actions/core from 1.6.0 to 1.9.1 in /wrapper by @dependabot in https://github.com/hashicorp/setup-terraform/pull/236
* Bump @actions/github from 5.0.3 to 5.1.1 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/249
* Bump leonsteinhaeuser/project-beta-automations from 2.0.0 to 2.0.1 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/250
# [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:
- Update readme using github-script@v5 by @krrrr38 in ([#135](https://github.com/hashicorp/setup-terraform/pull/135))
- Update actions/github-script to v6 in README by @shouichi in ([#148](https://github.com/hashicorp/setup-terraform/pull/148))
ENHANCEMENTS:
- Improve output for PR comment by @skpy in ([#129](https://github.com/hashicorp/setup-terraform/pull/129))
- Allow proxy values to be set by @rabun788 in ([#147](https://github.com/hashicorp/setup-terraform/pull/147))
INTERNAL:
- Allow dependabot to check node modules by @jlosito in ([#87](https://github.com/hashicorp/setup-terraform/pull/87))
- Update js-releases to v1.4.0 by @aeschright in ([#111](https://github.com/hashicorp/setup-terraform/pull/111))
- Updates Readme by @ndrone-kr in ([#86](https://github.com/hashicorp/setup-terraform/pull/86))
- Update husky to v6.0 by @aeschright in ([#113](https://github.com/hashicorp/setup-terraform/pull/113))
- Bump development dependencies by @jpogran in ([#153](https://github.com/hashicorp/setup-terraform/pull/153))
- Bump node-fetch from 2.6.1 to 2.6.7 by @dependabot in ([#154](https://github.com/hashicorp/setup-terraform/pull/154))
- Bump @actions/github from 4.0.0 to 5.0.0 by @dependabot in ([#114](https://github.com/hashicorp/setup-terraform/pull/114))
- Bump @actions/io from 1.1.0 to 1.1.1 by @dependabot in ([#156](https://github.com/hashicorp/setup-terraform/pull/156))
- Bump @actions/core from 1.2.7 to 1.6.0 by @dependabot in ([#158](https://github.com/hashicorp/setup-terraform/pull/158))
- Bump @actions/tool-cache from 1.6.1 to 1.7.1 by @dependabot in ([#159](https://github.com/hashicorp/setup-terraform/pull/159))
- Bump @actions/core from 1.2.7 to 1.6.0 by @jpogran in ([#160](https://github.com/hashicorp/setup-terraform/pull/160))
- Bump @actions/exec from 1.0.4 to 1.1.0 by @jpogran in ([#161](https://github.com/hashicorp/setup-terraform/pull/161))
- Bump @actions/io from 1.1.0 to 1.1.1 by @jpogran in ([#162](https://github.com/hashicorp/setup-terraform/pull/162))
- Bump @hashicorp/js-releases from 1.5.0 to 1.5.1 by @dependabot in ([#166](https://github.com/hashicorp/setup-terraform/pull/166))
- Bump minimist from 1.2.5 to 1.2.6 by @dependabot in ([#168](https://github.com/hashicorp/setup-terraform/pull/168))
- Bump @actions/tool-cache from 1.7.1 to 1.7.2 by @dependabot in ([#164](https://github.com/hashicorp/setup-terraform/pull/164))
- Bump @actions/io from 1.1.1 to 1.1.2 by @dependabot in ([#165](https://github.com/hashicorp/setup-terraform/pull/165))
- Bump minimist from 1.2.5 to 1.2.6 in /wrapper by @dependabot in ([#169](https://github.com/hashicorp/setup-terraform/pull/169))
- Add GitHub automatic release by @jpogran in ([#173](https://github.com/hashicorp/setup-terraform/pull/173))
# [1.3.2] (2020-12-09)
ENHANCEMENTS:
- Update js-releases to fix missing dep in bundle ([#78](https://github.com/hashicorp/setup-terraform/pull/78))
# [1.3.1] (2020-12-08)
BUG FIXES:
- Fix build dependency ([#76](https://github.com/hashicorp/setup-terraform/pull/76))
# [1.3.0] (2020-12-08)
ENHANCEMENTS:
- Use `@hashicorp/js-releases` package to identify and download the specified version of Terraform. This will ensure that our tooling is consistent in how it works with the releases API, especially when handling pre-releases. ([#70](https://github.com/hashicorp/setup-terraform/pull/70), [#73](https://github.com/hashicorp/setup-terraform/pull/73))
# [1.2.1] (2020-10-30)
INTERNAL:
- Update dependencies to resolve CVE-2020-15228 ([#63](https://github.com/hashicorp/setup-terraform/pull/63))
# [1.2.0]
ENHANCEMENTS:
- Allow `terraform_version` to take a version constraint. ([#38](https://github.com/hashicorp/setup-terraform/pull/38))
# [1.1.0]
ENHANCEMENTS:
- Ignore pre-release versions when `terraform_version` is set to `latest`. ([#19](https://github.com/hashicorp/setup-terraform/pull/19))
# [1.0.1]
INTERNAL:
- Bump @actions/http-client from 1.0.6 to 1.0.8. ([#1](https://github.com/hashicorp/setup-terraform/pull/1))
# [1.0.0]
- Initial release.
<!-- Links to tag comparisons -->
[Unreleased]: https://github.com/hashicorp/setup-terraform/compare/v2.0.2...main
[2.0.2]: https://github.com/hashicorp/setup-terraform/compare/v2.0.1...v2.0.2
[2.0.1]: https://github.com/hashicorp/setup-terraform/compare/v2.0.0...v2.0.1
[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
[1.2.1]: https://github.com/hashicorp/setup-terraform/compare/v1.2.0...v1.2.1
[1.2.0]: https://github.com/hashicorp/setup-terraform/compare/v1.1.0...v1.2.0
[1.1.0]: https://github.com/hashicorp/setup-terraform/compare/v1.0.1...v1.1.0
[1.0.1]: https://github.com/hashicorp/setup-terraform/compare/v1.0.0...v1.0.1

11
.changes/3.0.0.md Normal file
View file

@ -0,0 +1,11 @@
## 3.0.0 (2023-10-30)
NOTES:
* Updated default runtime to node20 ([#346](https://github.com/hashicorp/setup-terraform/issues/346))
* The wrapper around the installed Terraform binary has been fixed to return the exact STDOUT and STDERR from Terraform when executing commands. Previous versions of setup-terraform may have required workarounds to process the STDOUT in bash, such as filtering out the first line or selectively parsing STDOUT with jq. These workarounds may need to be adjusted with `v3.0.0`, which will now return just the STDOUT/STDERR from Terraform with no errant characters/statements. ([#367](https://github.com/hashicorp/setup-terraform/issues/367))
BUG FIXES:
* Fixed malformed stdout when wrapper is enabled ([#367](https://github.com/hashicorp/setup-terraform/issues/367))

6
.changes/3.1.0.md Normal file
View file

@ -0,0 +1,6 @@
## 3.1.0 (2024-04-23)
ENHANCEMENTS:
* Automatically fallback to darwin/amd64 for Terraform versions before 1.0.2 as releases for darwin/arm64 are not available ([#409](https://github.com/hashicorp/setup-terraform/issues/409))

6
.changes/3.1.1.md Normal file
View file

@ -0,0 +1,6 @@
## 3.1.1 (2024-05-07)
BUG FIXES:
* wrapper: Fix wrapper to output to stdout and stderr immediately when data is received ([#395](https://github.com/hashicorp/setup-terraform/issues/395))

6
.changes/3.1.2.md Normal file
View file

@ -0,0 +1,6 @@
## 3.1.2 (2024-08-19)
NOTES:
* This release introduces no functional changes. It does however include dependency updates which address upstream CVEs. ([#430](https://github.com/hashicorp/setup-terraform/issues/430))

View file

22
.changie.yaml Normal file
View file

@ -0,0 +1,22 @@
changesDir: .changes
unreleasedDir: unreleased
changelogPath: CHANGELOG.md
versionExt: md
versionFormat: '## {{.Version}} ({{.Time.Format "2006-01-02"}})'
kindFormat: '{{.Kind}}:'
changeFormat: '* {{.Body}} ([#{{.Custom.Issue}}](https://github.com/hashicorp/setup-terraform/issues/{{.Custom.Issue}}))'
custom:
- key: Issue
label: Issue/PR Number
type: int
minInt: 1
kinds:
- label: BREAKING CHANGES
- label: NOTES
- label: FEATURES
- label: ENHANCEMENTS
- label: BUG FIXES
newlines:
afterKind: 1
beforeKind: 1
endOfVersion: 2

33
.copywrite.hcl Normal file
View file

@ -0,0 +1,33 @@
schema_version = 1
project {
license = "MPL-2.0"
copyright_year = 2020
header_ignore = [
# internal catalog metadata (prose)
"META.d/**/*.yaml",
# changie tooling configuration and CHANGELOG entries (prose)
".changes/unreleased/*.yaml",
".changie.yaml",
# GitHub issue template configuration
".github/ISSUE_TEMPLATE/*.yml",
# GitHub Actions workflow-specific configurations
".github/labeler-*.yml",
# Github Action linting configuration
".github/actionlint.yaml",
# Release Engineering tooling configuration
".release/*.hcl",
# Auto-generated /dist
"dist/**",
# GitHub Action metadata file
"action.yml",
]
}

1
.github/CODEOWNERS vendored Normal file
View file

@ -0,0 +1 @@
* @hashicorp/terraform-core-plugins

17
.github/dependabot.yml vendored Normal file
View file

@ -0,0 +1,17 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
groups:
"github-actions":
patterns:
- "*" # Group all GitHub Actions dependencies together
schedule:
interval: "weekly"
day: "monday"
time: "09:00"
timezone: "Etc/UTC"

16
.github/pull_request_template.md vendored Normal file
View file

@ -0,0 +1,16 @@
## Related Issue
Fixes # <!-- INSERT ISSUE NUMBER -->
## Description
In plain English, describe your approach to addressing the issue linked above. For example, if you made a particular design decision, let us know why you chose this path instead of another solution.
<!-- heimdall_github_prtemplate:grc-pci_dss-2024-01-05 -->
## Rollback Plan
- [ ] If a change needs to be reverted, we will roll out an update to the code within 7 days.
## Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

23
.github/workflows/ci-changie.yml vendored Normal file
View file

@ -0,0 +1,23 @@
# Continuous integration handling for changie
name: ci-changie
on:
pull_request:
paths:
- .changes/unreleased/*.yaml
- .changie.yaml
- .github/workflows/ci-changie.yml
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: miniscruff/changie-action@5036dffa79ffc007110dc7f75eca7ef72780e147 # v2.1.0
with:
version: latest
args: batch patch --dry-run

17
.github/workflows/compliance.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: compliance
on:
pull_request:
permissions:
contents: read
jobs:
# Reference: ENGSRV-059
copywrite:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: hashicorp/setup-copywrite@32638da2d4e81d56a0764aa1547882fc4d209636 # v1.1.3
- run: copywrite headers --plan
- run: copywrite license --plan

View file

@ -3,35 +3,20 @@ name: 'Continuous Integration'
on:
push:
branches:
- master
- main
pull_request:
jobs:
check-dist:
name: Check dist/ directory
uses: actions/reusable-workflows/.github/workflows/check-dist.yml@95d9656793415e47f574f7967f3850ea3bf5a7ed
with:
node-version: 20.x
node-caching: npm
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Install
run: npm clean-install
- name: Verify
if: runner.os == 'Linux'
run: |
npm run build
# Fail if "npm run build" generated new changes in dist
git update-index --refresh dist/* && git diff-index --quiet HEAD dist
- name: Test
run: npm test
uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@95d9656793415e47f574f7967f3850ea3bf5a7ed
with:
node-version: 20.x
node-caching: npm

11
.github/workflows/data/delay/main.tf vendored Normal file
View file

@ -0,0 +1,11 @@
resource "null_resource" "previous" {}
resource "time_sleep" "wait_30_seconds" {
depends_on = [null_resource.previous]
create_duration = "30s"
}
resource "null_resource" "next" {
depends_on = [time_sleep.wait_30_seconds]
}

View file

@ -1,5 +1,5 @@
resource "null_resource" "null" {
triggers = {
value = "${timestamp()}"
}
resource "random_pet" "pet" {}
output "pet" {
value = random_pet.pet.id
}

View file

@ -0,0 +1,21 @@
# DO NOT EDIT - This GitHub Workflow is managed by automation
# https://github.com/hashicorp/terraform-devex-repos
name: Issue Comment Triage
on:
issue_comment:
types: [created]
jobs:
issue_comment_triage:
runs-on: ubuntu-latest
env:
# issue_comment events are triggered by comments on issues and pull requests. Checking the
# value of github.event.issue.pull_request tells us whether the issue is an issue or is
# actually a pull request, allowing us to dynamically set the gh subcommand:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issue_comment-on-issues-only-or-pull-requests-only
COMMAND: ${{ github.event.issue.pull_request && 'pr' || 'issue' }}
GH_TOKEN: ${{ github.token }}
steps:
- name: 'Remove waiting-response on comment'
run: gh ${{ env.COMMAND }} edit ${{ github.event.issue.html_url }} --remove-label waiting-response

22
.github/workflows/lock.yml vendored Normal file
View file

@ -0,0 +1,22 @@
# DO NOT EDIT - This GitHub Workflow is managed by automation
# https://github.com/hashicorp/terraform-devex-repos
name: 'Lock Threads'
on:
schedule:
- cron: '0 10 * * *'
jobs:
lock:
runs-on: ubuntu-latest
steps:
# NOTE: When TSCCR updates the GitHub action version, update the template workflow file to avoid drift:
# https://github.com/hashicorp/terraform-devex-repos/blob/main/modules/repo/workflows/lock.tftpl
- uses: dessant/lock-threads@7266a7ce5c1df01b1c6db85bf8cd86c737dadbe7 # v6.0.0
with:
process-only: 'issues, prs'
github-token: ${{ github.token }}
issue-inactive-days: '30'
issue-lock-reason: resolved
pr-inactive-days: '30'
pr-lock-reason: resolved

134
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,134 @@
name: release
on:
workflow_dispatch:
inputs:
versionNumber:
description: 'Release version number (v#.#.#)'
type: string
required: true
permissions:
contents: read # Changelog commit operations use service account PAT
jobs:
major-version:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.major-version.outputs.version }}
steps:
- id: major-version
run: echo "version=$(echo "${{ inputs.versionNumber }}" | cut -d. -f1)" >> "$GITHUB_OUTPUT"
changelog-version:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.changelog-version.outputs.version }}
steps:
- id: changelog-version
run: echo "version=$(echo "${{ inputs.versionNumber }}" | cut -c 2-)" >> "$GITHUB_OUTPUT"
changelog:
needs: changelog-version
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 0
# Avoid persisting GITHUB_TOKEN credentials as they take priority over our service account PAT for `git push` operations
# More details: https://github.com/actions/checkout/blob/b4626ce19ce1106186ddf9bb20e706842f11a7c3/adrs/0153-checkout-v2.md#persist-credentials
persist-credentials: false
- name: Batch changes
uses: miniscruff/changie-action@5036dffa79ffc007110dc7f75eca7ef72780e147 # v2.1.0
with:
version: latest
args: batch ${{ needs.changelog-version.outputs.version }}
- name: Merge changes
uses: miniscruff/changie-action@5036dffa79ffc007110dc7f75eca7ef72780e147 # v2.1.0
with:
version: latest
args: merge
- name: Git push changelog
run: |
git config --global user.name "${{ vars.TF_DEVEX_CI_COMMIT_AUTHOR }}"
git config --global user.email "${{ vars.TF_DEVEX_CI_COMMIT_EMAIL }}"
git add .
git commit -a -m "Update changelog"
git push "https://${{ vars.TF_DEVEX_CI_COMMIT_AUTHOR }}:${{ secrets.TF_DEVEX_COMMIT_GITHUB_TOKEN }}@github.com/${{ github.repository }}.git"
update-package-version:
needs: changelog
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 0
# Default input is the SHA that initially triggered the workflow. As we created a new commit in the previous job,
# to ensure we get the latest commit we use the ref for checkout: 'refs/heads/<branch_name>'
ref: ${{ github.ref }}
# Avoid persisting GITHUB_TOKEN credentials as they take priority over our service account PAT for `git push` operations
# More details: https://github.com/actions/checkout/blob/b4626ce19ce1106186ddf9bb20e706842f11a7c3/adrs/0153-checkout-v2.md#persist-credentials
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version: 20
- name: Update package version
run: npm version "${{ inputs.versionNumber }}" --git-tag-version false
- name: Git push
run: |
git config --global user.name "${{ vars.TF_DEVEX_CI_COMMIT_AUTHOR }}"
git config --global user.email "${{ vars.TF_DEVEX_CI_COMMIT_EMAIL }}"
git add .
git commit -a -m "Update package version"
git push "https://${{ vars.TF_DEVEX_CI_COMMIT_AUTHOR }}:${{ secrets.TF_DEVEX_COMMIT_GITHUB_TOKEN }}@github.com/${{ github.repository }}.git"
release-tag:
needs: [ update-package-version, major-version ]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 0
# Default input is the SHA that initially triggered the workflow. As we created a new commit in the previous job,
# to ensure we get the latest commit we use the ref for checkout: 'refs/heads/<branch_name>'
ref: ${{ github.ref }}
# Avoid persisting GITHUB_TOKEN credentials as they take priority over our service account PAT for `git push` operations
# More details: https://github.com/actions/checkout/blob/b4626ce19ce1106186ddf9bb20e706842f11a7c3/adrs/0153-checkout-v2.md#persist-credentials
persist-credentials: false
- name: Git push release tag
run: |
git config --global user.name "${{ vars.TF_DEVEX_CI_COMMIT_AUTHOR }}"
git config --global user.email "${{ vars.TF_DEVEX_CI_COMMIT_EMAIL }}"
git tag "${{ inputs.versionNumber }}"
git tag -f "${{ needs.major-version.outputs.version }}"
git push "https://${{ vars.TF_DEVEX_CI_COMMIT_AUTHOR }}:${{ secrets.TF_DEVEX_COMMIT_GITHUB_TOKEN }}@github.com/${{ github.repository }}.git" "${{ inputs.versionNumber }}"
git push "https://${{ vars.TF_DEVEX_CI_COMMIT_AUTHOR }}:${{ secrets.TF_DEVEX_COMMIT_GITHUB_TOKEN }}@github.com/${{ github.repository }}.git" -f "${{ needs.major-version.outputs.version }}"
release:
needs: [ changelog-version, release-tag ]
runs-on: ubuntu-latest
permissions:
contents: write # Needed to create GitHub release
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
ref: ${{ inputs.versionNumber }}
fetch-depth: 0
- name: Generate Release Notes
run: |
cd .changes
sed -e "1{/# /d;}" -e "2{/^$/d;}" ${{ needs.changelog-version.outputs.version }}.md > /tmp/release-notes.txt
- name: GH Release
run: |
gh release create "${{ inputs.versionNumber }}" --notes-file /tmp/release-notes.txt --title "${{ inputs.versionNumber }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -1,9 +1,9 @@
name: 'Setup Terraform'
name: 'setup-terraform tests'
on:
push:
branches:
- master
- main
pull_request:
defaults:
@ -12,46 +12,95 @@ defaults:
jobs:
terraform-versions:
name: 'Terraform Versions'
name: 'Terraform Versions'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
terraform-versions: [0.11.14, 0.12.24]
terraform-versions: [0.11.14, latest]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Terraform - ${{ matrix['terraform-versions'] }}
uses: ./
with:
terraform_version: ${{ matrix['terraform-versions'] }}
- name: Validate Teraform Version - ${{ matrix['terraform-versions'] }}
if: ${{ matrix['terraform-versions'] != 'latest' }}
run: terraform version | grep ${{ matrix['terraform-versions']}}
- name: Validate Teraform Version - ${{ matrix['terraform-versions'] }}
if: ${{ matrix['terraform-versions'] == 'latest' }}
run: terraform version | grep 'Terraform v'
terraform-versions-no-wrapper:
name: 'Terraform Versions No Wrapper'
name: 'Terraform Versions No Wrapper'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
terraform-versions: [0.11.14, 0.12.24]
terraform-versions: [0.11.14, latest]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Terraform (no wrapper) - ${{ matrix['terraform-versions'] }}
uses: ./
with:
terraform_version: ${{ matrix['terraform-versions'] }}
terraform_wrapper: false
- name: Validate Teraform Version (no wrapper) - ${{ matrix['terraform-versions'] }}
- name: Validate Teraform Version - ${{ matrix['terraform-versions'] }}
if: ${{ matrix['terraform-versions'] != 'latest' }}
run: terraform version | grep ${{ matrix['terraform-versions']}}
- name: Validate Teraform Version - ${{ matrix['terraform-versions'] }}
if: ${{ matrix['terraform-versions'] == 'latest' }}
run: terraform version | grep 'Terraform v'
terraform-versions-constraints:
name: 'Terraform Versions Constraints'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
terraform-versions: [~0.12, 0.12.x, <0.13.0]
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Terraform - ${{ matrix['terraform-versions'] }}
uses: ./
with:
terraform_version: ${{ matrix['terraform-versions'] }}
- name: Validate Teraform Version - ${{ matrix['terraform-versions'] }}
run: terraform version | grep 'Terraform v0\.12'
terraform-versions-constraints-no-wrapper:
name: 'Terraform Versions Constraints No Wrapper'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
terraform-versions: [~0.12, 0.12.x, <0.13.0]
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Terraform (no wrapper) - ${{ matrix['terraform-versions'] }}
uses: ./
with:
terraform_version: ${{ matrix['terraform-versions'] }}
terraform_wrapper: false
- name: Validate Teraform Version - ${{ matrix['terraform-versions'] }}
run: terraform version | grep 'Terraform v0\.12'
terraform-credentials-cloud:
name: 'Terraform Cloud Credentials'
name: 'HCP Terraform Credentials'
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -60,14 +109,14 @@ jobs:
TF_CLOUD_API_TOKEN: 'XXXXXXXXXXXXXX.atlasv1.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Terraform
uses: ./
with:
cli_config_credentials_token: ${{ env.TF_CLOUD_API_TOKEN }}
- name: Validate Terraform Credentials (Windows)
- name: Validate Terraform Credentials (Windows)
if: runner.os == 'Windows'
run: |
cat ${APPDATA}/terraform.rc | grep 'credentials "app.terraform.io"'
@ -78,9 +127,9 @@ jobs:
run: |
cat ${HOME}/.terraformrc | grep 'credentials "app.terraform.io"'
cat ${HOME}/.terraformrc | grep 'token = "${{ env.TF_CLOUD_API_TOKEN }}"'
terraform-credentials-enterprise:
name: 'Terraform Enterprise Credentials'
name: 'Terraform Enterprise Credentials'
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -89,15 +138,15 @@ jobs:
TF_CLOUD_API_TOKEN: 'XXXXXXXXXXXXXX.atlasv1.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Terraform
uses: ./
with:
cli_config_credentials_hostname: 'terraform.example.com'
cli_config_credentials_token: ${{ env.TF_CLOUD_API_TOKEN }}
- name: Validate Terraform Credentials (Windows)
- name: Validate Terraform Credentials (Windows)
if: runner.os == 'Windows'
run: |
cat ${APPDATA}/terraform.rc | grep 'credentials "terraform.example.com"'
@ -108,154 +157,245 @@ jobs:
run: |
cat ${HOME}/.terraformrc | grep 'credentials "terraform.example.com"'
cat ${HOME}/.terraformrc | grep 'token = "${{ env.TF_CLOUD_API_TOKEN }}"'
terraform-credentials-none:
name: 'Terraform No Credentials'
name: 'Terraform No Credentials'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Terraform
uses: ./
- name: Validate Terraform Credentials (Windows)
- name: Validate Terraform Credentials (Windows)
if: runner.os == 'Windows'
run: |
[[ -f ${APPDATA}/terraform.rc ]] || exit 0
- name: Validate Teraform Credentials (Linux & macOS)
if: runner.os != 'Windows'
run: |
[[ -f ${HOME}/.terraformrc ]] || exit 0
terraform-arguments:
name: 'Terraform Arguments'
name: 'Terraform Arguments'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Terraform
uses: ./
- name: Check No Arguments
run: terraform || exit 0
- name: Check Single Argument
run: terraform help || exit 0
- name: Check Single Argument Hyphen
run: terraform -help
- name: Check Single Argument Double Hyphen
run: terraform --help
- name: Check Single Argument Subcommand
run: terraform fmt -check
- name: Check Multiple Arguments Subcommand
run: terraform fmt -check -list=true -no-color
terraform-arguments-no-wrapper:
name: 'Terraform Arguments No Wrapper'
name: 'Terraform Arguments No Wrapper'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Terraform
uses: ./
with:
terraform_wrapper: false
- name: Check No Arguments
run: terraform || exit 0
- name: Check Single Argument
run: terraform help || exit 0
- name: Check Single Argument Hyphen
run: terraform -help
- name: Check Single Argument Double Hyphen
run: terraform --help
- name: Check Single Argument Subcommand
run: terraform fmt -check
- name: Check Multiple Arguments Subcommand
run: terraform fmt -check -list=true -no-color
terraform-run-local:
name: 'Terraform Run Local'
name: 'Terraform Run Local'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
defaults:
run:
shell: bash
working-directory: ./.github/workflows/data/local
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Terraform
uses: ./
- name: Terraform Init
shell: bash
run: terraform init
- name: Terraform Format
shell: bash
run: terraform fmt -check
- name: Terraform Plan
id: plan
shell: bash
run: terraform plan
- name: Print Terraform Plan
shell: bash
- name: Terraform Init
run: terraform init
- name: Terraform Format
run: terraform fmt -check
- name: Terraform Plan
id: plan
run: terraform plan
- name: Print Terraform Plan
run: echo "${{ steps.plan.outputs.stdout }}"
terraform-run-local-no-wrapper:
name: 'Terraform Run Local No Wrapper'
name: 'Terraform Run Local No Wrapper'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
defaults:
run:
shell: bash
working-directory: ./.github/workflows/data/local
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Terraform
uses: ./
with:
terraform_wrapper: false
- name: Terraform Init
shell: bash
- name: Terraform Init
run: terraform init
- name: Terraform Format
shell: bash
- name: Terraform Format
run: terraform fmt -check
- name: Terraform Plan
- name: Terraform Plan
id: plan
shell: bash
run: terraform plan
run: terraform plan
terraform-stdout-wrapper:
name: 'Terraform STDOUT'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
defaults:
run:
shell: bash
working-directory: ./.github/workflows/data/local
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Terraform
uses: ./
with:
terraform_wrapper: true
- name: Terraform Init
run: terraform init
- name: Terraform Format
run: terraform fmt -check
- name: Terraform Apply
id: apply
run: terraform apply -auto-approve
- name: Terraform Output to JQ
id: output
run: terraform output -json | jq '.pet.value'
terraform-stdout-no-wrapper:
name: 'Terraform STDOUT No Wrapper'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
defaults:
run:
shell: bash
working-directory: ./.github/workflows/data/local
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Terraform
uses: ./
with:
terraform_wrapper: false
- name: Terraform Init
run: terraform init
- name: Terraform Format
run: terraform fmt -check
- name: Terraform Apply
id: apply
run: terraform apply -auto-approve
- name: Terraform Output to JQ
id: output
run: terraform output -json | jq '.pet.value'
# This test has an artificial delay for testing the streaming of STDOUT
terraform-wrapper-delayed-apply:
name: 'Terraform Delayed Apply'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
defaults:
run:
shell: bash
working-directory: ./.github/workflows/data/delay
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Terraform
uses: ./
with:
terraform_wrapper: true
- name: Terraform Init
run: terraform init
- name: Terraform Format
run: terraform fmt -check
- name: Terraform Apply
id: apply
run: terraform apply -auto-approve

4
.gitignore vendored
View file

@ -66,3 +66,7 @@ typings/
# ./wrapper/dist gets included in top-level ./dist
wrapper/dist
# Jetbrains IDEs
.idea/
.iml

198
CHANGELOG.md Normal file
View file

@ -0,0 +1,198 @@
## 3.1.2 (2024-08-19)
NOTES:
* This release introduces no functional changes. It does however include dependency updates which address upstream CVEs. ([#430](https://github.com/hashicorp/setup-terraform/issues/430))
## 3.1.1 (2024-05-07)
BUG FIXES:
* wrapper: Fix wrapper to output to stdout and stderr immediately when data is received ([#395](https://github.com/hashicorp/setup-terraform/issues/395))
## 3.1.0 (2024-04-23)
ENHANCEMENTS:
* Automatically fallback to darwin/amd64 for Terraform versions before 1.0.2 as releases for darwin/arm64 are not available ([#409](https://github.com/hashicorp/setup-terraform/issues/409))
## 3.0.0 (2023-10-30)
NOTES:
* Updated default runtime to node20 ([#346](https://github.com/hashicorp/setup-terraform/issues/346))
* The wrapper around the installed Terraform binary has been fixed to return the exact STDOUT and STDERR from Terraform when executing commands. Previous versions of setup-terraform may have required workarounds to process the STDOUT in bash, such as filtering out the first line or selectively parsing STDOUT with jq. These workarounds may need to be adjusted with `v3.0.0`, which will now return just the STDOUT/STDERR from Terraform with no errant characters/statements. ([#367](https://github.com/hashicorp/setup-terraform/issues/367))
BUG FIXES:
* Fixed malformed stdout when wrapper is enabled ([#367](https://github.com/hashicorp/setup-terraform/issues/367))
# [2.0.3] (2022-11-01)
### NOTES
* Reduced occurrences of GitHub Actions warnings for setting output [#247](https://github.com/hashicorp/setup-terraform/pull/247)
# [2.0.2] (2022-10-12)
### BUG FIXES
* Update 2.0.1 release metadata by @jpogran in https://github.com/hashicorp/setup-terraform/pull/253
* `README.md` updates - direct links to license and code of conduct, updated GitHub documents link by @magnetikonline in https://github.com/hashicorp/setup-terraform/pull/244
### INTERNAL
* Bump jest from 29.0.3 to 29.1.2 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/248
# [2.0.1] (2022-10-12)
### ENHANCEMENTS
* Do not fail when theres an exit-code 2 by @dannyibishev in https://github.com/hashicorp/setup-terraform/pull/125
* Updated README to reflect GitHub limitations by @rnsc in https://github.com/hashicorp/setup-terraform/pull/205
### BUG FIXES
* Fix terraform extract by @cpc-camarj in https://github.com/hashicorp/setup-terraform/pull/187
* Add new-style readme build badges, bump `actions/checkout` in `README.md` examples by @magnetikonline in https://github.com/hashicorp/setup-terraform/pull/188
* Fixed `master` to `main` workflow branch triggers by @magnetikonline in https://github.com/hashicorp/setup-terraform/pull/216
* Fix the example of how to comment on pull request. by @acarmel in https://github.com/hashicorp/setup-terraform/pull/220
### INTERNAL
* Bump @actions/core from 1.6.0 to 1.7.0 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/185
* Bump @vercel/ncc from 0.33.3 to 0.33.4 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/182
* Bump jest from 27.5.1 to 28.0.0 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/184
* Bump jest from 28.0.0 to 28.0.3 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/190
* Bump husky from 7.0.4 to 8.0.1 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/193
* Bump jest from 28.0.3 to 28.1.0 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/194
* Bump @actions/github from 5.0.1 to 5.0.3 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/201
* Bump @actions/core from 1.7.0 to 1.8.2 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/200
* Bump @actions/tool-cache from 1.7.2 to 2.0.1 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/199
* TF DevEx: repo adoption by @detro in https://github.com/hashicorp/setup-terraform/pull/204
* Bump nock from 13.2.4 to 13.2.6 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/212
* Bump @vercel/ncc from 0.33.4 to 0.34.0 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/210
* Bump jest from 28.1.0 to 28.1.1 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/215
* Bump nock from 13.2.6 to 13.2.7 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/217
* Bump jest from 28.1.1 to 28.1.2 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/221
* Bump jest from 28.1.2 to 28.1.3 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/224
* Bump nock from 13.2.7 to 13.2.9 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/225
* Bump leonsteinhaeuser/project-beta-automations from 1.2.1 to 1.3.0 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/233
* Bump leonsteinhaeuser/project-beta-automations from 1.3.0 to 2.0.0 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/243
* Bump jest from 28.1.3 to 29.0.3 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/242
* Bump @hashicorp/js-releases from 1.5.1 to 1.6.1 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/226
* Bump @actions/core from 1.8.2 to 1.9.1 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/235
* Bump @actions/core from 1.6.0 to 1.9.1 in /wrapper by @dependabot in https://github.com/hashicorp/setup-terraform/pull/236
* Bump @actions/github from 5.0.3 to 5.1.1 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/249
* Bump leonsteinhaeuser/project-beta-automations from 2.0.0 to 2.0.1 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/250
# [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:
- Update readme using github-script@v5 by @krrrr38 in ([#135](https://github.com/hashicorp/setup-terraform/pull/135))
- Update actions/github-script to v6 in README by @shouichi in ([#148](https://github.com/hashicorp/setup-terraform/pull/148))
ENHANCEMENTS:
- Improve output for PR comment by @skpy in ([#129](https://github.com/hashicorp/setup-terraform/pull/129))
- Allow proxy values to be set by @rabun788 in ([#147](https://github.com/hashicorp/setup-terraform/pull/147))
INTERNAL:
- Allow dependabot to check node modules by @jlosito in ([#87](https://github.com/hashicorp/setup-terraform/pull/87))
- Update js-releases to v1.4.0 by @aeschright in ([#111](https://github.com/hashicorp/setup-terraform/pull/111))
- Updates Readme by @ndrone-kr in ([#86](https://github.com/hashicorp/setup-terraform/pull/86))
- Update husky to v6.0 by @aeschright in ([#113](https://github.com/hashicorp/setup-terraform/pull/113))
- Bump development dependencies by @jpogran in ([#153](https://github.com/hashicorp/setup-terraform/pull/153))
- Bump node-fetch from 2.6.1 to 2.6.7 by @dependabot in ([#154](https://github.com/hashicorp/setup-terraform/pull/154))
- Bump @actions/github from 4.0.0 to 5.0.0 by @dependabot in ([#114](https://github.com/hashicorp/setup-terraform/pull/114))
- Bump @actions/io from 1.1.0 to 1.1.1 by @dependabot in ([#156](https://github.com/hashicorp/setup-terraform/pull/156))
- Bump @actions/core from 1.2.7 to 1.6.0 by @dependabot in ([#158](https://github.com/hashicorp/setup-terraform/pull/158))
- Bump @actions/tool-cache from 1.6.1 to 1.7.1 by @dependabot in ([#159](https://github.com/hashicorp/setup-terraform/pull/159))
- Bump @actions/core from 1.2.7 to 1.6.0 by @jpogran in ([#160](https://github.com/hashicorp/setup-terraform/pull/160))
- Bump @actions/exec from 1.0.4 to 1.1.0 by @jpogran in ([#161](https://github.com/hashicorp/setup-terraform/pull/161))
- Bump @actions/io from 1.1.0 to 1.1.1 by @jpogran in ([#162](https://github.com/hashicorp/setup-terraform/pull/162))
- Bump @hashicorp/js-releases from 1.5.0 to 1.5.1 by @dependabot in ([#166](https://github.com/hashicorp/setup-terraform/pull/166))
- Bump minimist from 1.2.5 to 1.2.6 by @dependabot in ([#168](https://github.com/hashicorp/setup-terraform/pull/168))
- Bump @actions/tool-cache from 1.7.1 to 1.7.2 by @dependabot in ([#164](https://github.com/hashicorp/setup-terraform/pull/164))
- Bump @actions/io from 1.1.1 to 1.1.2 by @dependabot in ([#165](https://github.com/hashicorp/setup-terraform/pull/165))
- Bump minimist from 1.2.5 to 1.2.6 in /wrapper by @dependabot in ([#169](https://github.com/hashicorp/setup-terraform/pull/169))
- Add GitHub automatic release by @jpogran in ([#173](https://github.com/hashicorp/setup-terraform/pull/173))
# [1.3.2] (2020-12-09)
ENHANCEMENTS:
- Update js-releases to fix missing dep in bundle ([#78](https://github.com/hashicorp/setup-terraform/pull/78))
# [1.3.1] (2020-12-08)
BUG FIXES:
- Fix build dependency ([#76](https://github.com/hashicorp/setup-terraform/pull/76))
# [1.3.0] (2020-12-08)
ENHANCEMENTS:
- Use `@hashicorp/js-releases` package to identify and download the specified version of Terraform. This will ensure that our tooling is consistent in how it works with the releases API, especially when handling pre-releases. ([#70](https://github.com/hashicorp/setup-terraform/pull/70), [#73](https://github.com/hashicorp/setup-terraform/pull/73))
# [1.2.1] (2020-10-30)
INTERNAL:
- Update dependencies to resolve CVE-2020-15228 ([#63](https://github.com/hashicorp/setup-terraform/pull/63))
# [1.2.0]
ENHANCEMENTS:
- Allow `terraform_version` to take a version constraint. ([#38](https://github.com/hashicorp/setup-terraform/pull/38))
# [1.1.0]
ENHANCEMENTS:
- Ignore pre-release versions when `terraform_version` is set to `latest`. ([#19](https://github.com/hashicorp/setup-terraform/pull/19))
# [1.0.1]
INTERNAL:
- Bump @actions/http-client from 1.0.6 to 1.0.8. ([#1](https://github.com/hashicorp/setup-terraform/pull/1))
# [1.0.0]
- Initial release.
<!-- Links to tag comparisons -->
[Unreleased]: https://github.com/hashicorp/setup-terraform/compare/v2.0.2...main
[2.0.2]: https://github.com/hashicorp/setup-terraform/compare/v2.0.1...v2.0.2
[2.0.1]: https://github.com/hashicorp/setup-terraform/compare/v2.0.0...v2.0.1
[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
[1.2.1]: https://github.com/hashicorp/setup-terraform/compare/v1.2.0...v1.2.1
[1.2.0]: https://github.com/hashicorp/setup-terraform/compare/v1.1.0...v1.2.0
[1.1.0]: https://github.com/hashicorp/setup-terraform/compare/v1.0.1...v1.1.0
[1.0.1]: https://github.com/hashicorp/setup-terraform/compare/v1.0.0...v1.0.1

View file

@ -1,3 +1,5 @@
Copyright (c) 2020 HashiCorp, Inc.
Mozilla Public License Version 2.0
==================================

11
META.d/_summary.yaml Normal file
View file

@ -0,0 +1,11 @@
---
schema: 1.1
partition: tf-ecosystem
category: github-action
summary:
owner: team-tf-core-plugins
description: |
Sets up Terraform CLI in your GitHub Actions workflow.
visibility: public

6
META.d/data.yml Normal file
View file

@ -0,0 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
data_summary:
gdpr:
exempt: true

28
NOTICE
View file

@ -1,28 +0,0 @@
# Notice
This project includes code under the following license(s):
```
MIT License
Copyright (c) 2020 GitHub, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```

246
README.md
View file

@ -1,70 +1,69 @@
# setup-terraform
<p align="left">
<a href="https://github.com/hashicorp/setup-terraform/actions"><img alt="Continuous Integration" src="https://github.com/hashicorp/setup-terraform/workflows/Continuous%20Integration/badge.svg" /></a>
<a href="https://github.com/hashicorp/setup-terraform/actions"><img alt="Setup Terraform" src="https://github.com/hashicorp/setup-terraform/workflows/Setup%20Terraform/badge.svg" /></a>
</p>
[![Continuous Integration](https://github.com/hashicorp/setup-terraform/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/hashicorp/setup-terraform/actions/workflows/continuous-integration.yml)
[![Setup Terraform](https://github.com/hashicorp/setup-terraform/actions/workflows/setup-terraform.yml/badge.svg)](https://github.com/hashicorp/setup-terraform/actions/workflows/setup-terraform.yml)
This action sets up Terraform CLI in your [GitHub Actions](https://github.com/features/actions) workflow by:
The `hashicorp/setup-terraform` action is a JavaScript action that sets up Terraform CLI in your GitHub Actions workflow by:
- Downloading a specific version of Terraform CLI and adding it to the `PATH`.
- Configuring the Terraform CLI configuration file with a Terraform Cloud/Enterprise hostname and API token.
- Optionally installing 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.
- Configuring the [Terraform CLI configuration file](https://www.terraform.io/docs/commands/cli-config.html) with a HCP Terraform/Terraform Enterprise hostname and API token.
- Installing a wrapper script to wrap subsequent calls of the `terraform` binary and expose its STDOUT, STDERR, and exit code as outputs named `stdout`, `stderr`, and `exitcode` respectively. (This can be optionally skipped if subsequent steps in the same job do not need to access the results of Terraform commands.)
After you've used the action, subsequent steps in the same job can run arbitrary Terraform commands using [the GitHub Actions `run` syntax](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun). This allows most Terraform commands to work exactly like they do on your local command line.
## Usage
This action can be run on `ubuntu-latest`, `windows-latest`, and `macos-latest` GitHub Actions runners. When running on `windows-latest` the shell should be set to Bash.
This action can be run on `ubuntu-latest`, `windows-latest`, and `macos-latest` GitHub Actions runners. When running on `windows-latest` the shell should be set to Bash. When running on self-hosted GitHub Actions runners, NodeJS must be previously installed with the version specified in the [`action.yml`](https://github.com/hashicorp/setup-terraform/blob/main/action.yml).
The default configuration installs the latest version of Terraform CLI and installs the wrapper to wrap subsequent calls to the `terraform` binary.
The default configuration installs the latest version of Terraform CLI and installs the wrapper script to wrap subsequent calls to the `terraform` binary:
```yaml
steps:
- uses: hashicorp/setup-terraform@v1
- uses: hashicorp/setup-terraform@v3
```
A specific version of Terraform CLI can be installed.
A specific version of Terraform CLI can be installed:
```yaml
steps:
- uses: hashicorp/setup-terraform@v1
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: 0.12.24
terraform_version: "1.1.7"
```
Credentials for Terraform Cloud (app.terraform.io) can be configured.
Credentials for HCP Terraform ([app.terraform.io](https://app.terraform.io/)) can be configured:
```yaml
steps:
- uses: hashicorp/setup-terraform@v1
- uses: hashicorp/setup-terraform@v3
with:
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:
- uses: hashicorp/setup-terraform@v1
- uses: hashicorp/setup-terraform@v3
with:
cli_config_credentials_hostname: 'terraform.example.com'
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
```
The wrapper installation can be skipped.
The wrapper script installation can be skipped by setting the `terraform_wrapper` variable to `false`:
```yaml
steps:
- uses: hashicorp/setup-terraform@v1
- uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false
```
Subsequent steps can access outputs when the wrapper is installed.
Subsequent steps can access outputs when the wrapper script is installed:
```yaml
steps:
- uses: hashicorp/setup-terraform@v1
- uses: hashicorp/setup-terraform@v3
- run: terraform init
@ -76,58 +75,211 @@ steps:
- run: echo ${{ steps.plan.outputs.exitcode }}
```
The outputs can be used in subsequent steps to comment on the pull request:
Outputs can be used in subsequent steps to comment on the pull request:
> **Notice:** There's a limit to the number of characters inside a GitHub comment (65535).
>
> Due to that limitation, you might end up with a failed workflow run even if the plan succeeded.
>
> Another approach is to append your plan into the $GITHUB_STEP_SUMMARY environment variable which supports markdown.
```yaml
defaults:
run:
working-directory: ${{ env.tf_actions_working_dir }}
permissions:
pull-requests: write
steps:
- uses: hashicorp/setup-terraform@v1
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3
- run: terraform init
- name: Terraform fmt
id: fmt
run: terraform fmt -check
continue-on-error: true
- id: plan
run: terraform plan -no-color
- name: Terraform Init
id: init
run: terraform init -input=false
- uses: actions/github-script@0.9.0
- name: Terraform Validate
id: validate
run: terraform validate -no-color
- name: Terraform Plan
id: plan
run: terraform plan -no-color -input=false
continue-on-error: true
- uses: actions/github-script@v7
if: github.event_name == 'pull_request'
env:
STDOUT: "```${{ steps.plan.outputs.stdout }}```"
PLAN: "terraform\n${{ steps.plan.outputs.stdout }}"
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.issues.createComment({
const output = `#### Terraform Format and Style 🖌\`${{ steps.fmt.outcome }}\`
#### Terraform Initialization ⚙️\`${{ steps.init.outcome }}\`
#### Terraform Validation 🤖\`${{ steps.validate.outcome }}\`
<details><summary>Validation Output</summary>
\`\`\`\n
${{ steps.validate.outputs.stdout }}
\`\`\`
</details>
#### Terraform Plan 📖\`${{ steps.plan.outcome }}\`
<details><summary>Show Plan</summary>
\`\`\`\n
${process.env.PLAN}
\`\`\`
</details>
*Pusher: @${{ github.actor }}, Action: \`${{ github.event_name }}\`, Working Directory: \`${{ env.tf_actions_working_dir }}\`, Workflow: \`${{ github.workflow }}\`*`;
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: process.env.STDOUT
body: output
})
```
Instead of creating a new comment each time, you can also update an existing one:
```yaml
defaults:
run:
working-directory: ${{ env.tf_actions_working_dir }}
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3
- name: Terraform fmt
id: fmt
run: terraform fmt -check
continue-on-error: true
- name: Terraform Init
id: init
run: terraform init -input=false
- name: Terraform Validate
id: validate
run: terraform validate -no-color
- name: Terraform Plan
id: plan
run: terraform plan -no-color -input=false
continue-on-error: true
- uses: actions/github-script@v7
if: github.event_name == 'pull_request'
env:
PLAN: "terraform\n${{ steps.plan.outputs.stdout }}"
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
// 1. Retrieve existing bot comments for the PR
const { data: comments } = await github.rest.issues.listComments({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
})
const botComment = comments.find(comment => {
return comment.user.type === 'Bot' && comment.body.includes('Terraform Format and Style')
})
// 2. Prepare format of the comment
const output = `#### Terraform Format and Style 🖌\`${{ steps.fmt.outcome }}\`
#### Terraform Initialization ⚙️\`${{ steps.init.outcome }}\`
#### Terraform Validation 🤖\`${{ steps.validate.outcome }}\`
<details><summary>Validation Output</summary>
\`\`\`\n
${{ steps.validate.outputs.stdout }}
\`\`\`
</details>
#### Terraform Plan 📖\`${{ steps.plan.outcome }}\`
<details><summary>Show Plan</summary>
\`\`\`\n
${process.env.PLAN}
\`\`\`
</details>
*Pusher: @${{ github.actor }}, Action: \`${{ github.event_name }}\`, Working Directory: \`${{ env.tf_actions_working_dir }}\`, Workflow: \`${{ github.workflow }}\`*`;
// 3. If we have a comment, update it, otherwise create a new one
if (botComment) {
github.rest.issues.updateComment({
owner: context.repo.owner,
repo: context.repo.repo,
comment_id: botComment.id,
body: output
})
} else {
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: output
})
}
```
## Inputs
The following inputs are supported.
The action supports the following inputs:
- `cli_config_credentials_hostname` - (optional) The hostname of a Terraform Cloud/Enterprise instance to place within the credentials block of the Terraform CLI configuration file.
- `cli_config_credentials_token` - (optional) The API token for a Terraform Cloud/Enterprise instance to place within the credentials block of the Terraform CLI configuration file.
- `terraform_version` - (optional) The version of Terraform CLI to install. A value of `latest` will install the latest version of Terraform CLI. Defaults to `latest`.
- `terraform_wrapper` - (optional) Whether or not 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`.
- `cli_config_credentials_hostname` - (optional) The hostname of a HCP Terraform/Terraform Enterprise instance to
place within the credentials block of the Terraform CLI configuration file. Defaults to `app.terraform.io`.
- `cli_config_credentials_token` - (optional) The API token for a HCP Terraform/Terraform Enterprise instance to
place within the credentials block of the Terraform CLI configuration file.
- `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: `"<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 the `terraform_wrapper` input is set to `true`, the following outputs will be available for subsequent steps that call the `terraform` binary.
This action does not configure any outputs directly. However, when you set the `terraform_wrapper` input
to `true`, the following outputs are available for subsequent steps that call the `terraform` binary:
- `stdout` - The STDOUT stream of the call to the `terraform` binary.
- `stderr` - The STDERR stream of the call to the `terraform` binary.
- `exitcode` - The exit code of the call to the `terraform` binary..
- `stdout` - The STDOUT stream of the call to the `terraform` binary.
- `stderr` - The STDERR stream of the call to the `terraform` binary.
- `exitcode` - The exit code of the call to the `terraform` binary.
## License
[Mozilla Public License v2.0](https://github.com/hashicorp/setup-terraform/blob/master/LICENSE)
[Mozilla Public License v2.0](LICENSE)
## Code of Conduct
[Code of Conduct](https://github.com/hashicorp/setup-terraform/blob/master/CODE_OF_CONDUCT.md)
[Code of Conduct](CODE_OF_CONDUCT.md)
## Experimental Status
By using the software in this repository (the "Software"), you acknowledge that: (1) the Software is still in development, may change, and has not been released as a commercial product by HashiCorp and is not currently supported in any way by HashiCorp; (2) the Software is provided on an "as-is" basis, and may include bugs, errors, or other issues; (3) the Software is NOT INTENDED FOR PRODUCTION USE, use of the Software may result in unexpected results, loss of data, or other unexpected results, and HashiCorp disclaims any and all liability resulting from use of the Software; and (4) HashiCorp reserves all rights to make all decisions about the features, functionality and commercial release (or non-release) of the Software, at any time and without any obligation or liability whatsoever.
## Contributing
### License Headers
All source code files (excluding autogenerated files like `package.json`, prose, and files excluded in [.copywrite.hcl](.copywrite.hcl)) must have a license header at the top.
This can be autogenerated by installing the HashiCorp [`copywrite`](https://github.com/hashicorp/copywrite#getting-started) tool and running `copywrite headers` in the root of the repository.

View file

@ -3,14 +3,14 @@ description: 'Sets up Terraform CLI in your GitHub Actions workflow.'
author: 'HashiCorp, Inc.'
inputs:
cli_config_credentials_hostname:
description: 'The hostname of a Terraform Cloud/Enterprise instance to place within the credentials block of the Terraform CLI configuration file.'
description: 'The hostname of a HCP Terraform/Terraform Enterprise instance to place within the credentials block of the Terraform CLI configuration file. Defaults to `app.terraform.io`.'
default: 'app.terraform.io'
required: false
cli_config_credentials_token:
description: 'The API token for a Terraform Cloud/Enterprise instance to place within the credentials block of the Terraform CLI configuration file.'
description: 'The API token for a HCP Terraform/Terraform 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:
@ -18,7 +18,7 @@ inputs:
default: 'true'
required: false
runs:
using: 'node12'
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'terminal'

53428
dist/index.js vendored

File diff suppressed because one or more lines are too long

28010
dist/index1.js vendored

File diff suppressed because one or more lines are too long

View file

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
const core = require('@actions/core');
const setup = require('./lib/setup-terraform');

View file

@ -1,51 +1,19 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
// Node.js core
const fs = require('fs').promises;
const os = require('os');
const path = require('path');
const semver = require('semver');
// External
const core = require('@actions/core');
const tc = require('@actions/tool-cache');
const io = require('@actions/io');
const fetch = require('node-fetch');
const semver = require('semver');
// Find latest version given list of all available
function findLatest (allVersions) {
core.debug('Parsing version list for latest version');
let latest = '0.0.0';
for (const version in allVersions.versions) {
// is "version" greater than "latest"
latest = semver.gt(version, latest) ? version : latest;
}
return allVersions.versions[latest];
}
// Find specific version given list of all available
function findSpecific (allVersions, version) {
core.debug(`Parsing version list for version ${version}`);
const versionObj = allVersions.versions[version];
if (!versionObj) {
throw new Error(`Could not find Terraform version ${version} in version list`);
}
return versionObj;
}
async function downloadMetadata () {
core.debug('Downloading version metadata');
return fetch('https://releases.hashicorp.com/terraform/index.json')
.then(res => res.json())
.catch(err => {
core.setFailed(`Failed to fetch version metadata. ${err}`);
});
}
const releases = require('@hashicorp/js-releases');
// arch in [arm, x32, x64...] (https://nodejs.org/api/os.html#os_os_arch)
// return value in [amd64, 386, arm]
@ -66,29 +34,23 @@ function mapOS (os) {
return mappings[os] || os;
}
// Get build for an operating system and architecture
function getBuild (versionObj, os, arch) {
core.debug(`Getting build for Terraform version ${versionObj.version}, os ${os}, and arch ${arch}`);
const buildObj = versionObj.builds.length &&
versionObj.builds.find(build =>
build.arch === mapArch(arch) &&
build.os === mapOS(os)
);
if (!buildObj) {
throw new Error(`Terraform version ${versionObj.version} not available for ${os} and ${arch}`);
}
return buildObj;
}
async function downloadCLI (url) {
core.debug(`Downloading Terraform CLI from ${url}`);
const pathToCLIZip = await tc.downloadTool(url);
let pathToCLI = '';
core.debug('Extracting Terraform CLI zip file');
const pathToCLI = await tc.extractZip(pathToCLIZip);
if (os.platform().startsWith('win')) {
core.debug(`Terraform CLI Download Path is ${pathToCLIZip}`);
const fixedPathToCLIZip = `${pathToCLIZip}.zip`;
io.mv(pathToCLIZip, fixedPathToCLIZip);
core.debug(`Moved download to ${fixedPathToCLIZip}`);
pathToCLI = await tc.extractZip(fixedPathToCLIZip);
} else {
pathToCLI = await tc.extractZip(pathToCLIZip);
}
core.debug(`Terraform CLI path is ${pathToCLI}.`);
if (!pathToCLIZip || !pathToCLI) {
@ -168,20 +130,29 @@ async function run () {
const wrapper = core.getInput('terraform_wrapper') === 'true';
// Gather OS details
const osPlat = os.platform();
const osPlatform = os.platform();
const osArch = os.arch();
// Download metadata about all versions of Terraform CLI
const versionMetadata = await downloadMetadata();
core.debug(`Finding releases for Terraform version ${version}`);
const release = await releases.getRelease('terraform', version, 'GitHub Action: Setup Terraform');
const platform = mapOS(osPlatform);
let arch = mapArch(osArch);
// Find latest or a specific version like 0.1.0
const versionObj = version.toLowerCase() === 'latest' ? findLatest(versionMetadata) : findSpecific(versionMetadata, version);
// Terraform was not available for darwin/arm64 until 1.0.2, however macOS
// runners can emulate darwin/amd64.
if (platform === 'darwin' && arch === 'arm64' && semver.valid(release.version) && semver.lt(release.version, '1.0.2')) {
core.warning('Terraform is not available for darwin/arm64 until version 1.0.2. Falling back to darwin/amd64.');
arch = 'amd64';
}
// Get the build available for this runner's OS and a 64 bit architecture
const buildObj = getBuild(versionObj, osPlat, osArch);
core.debug(`Getting build for Terraform version ${release.version}: ${platform} ${arch}`);
const build = release.getBuild(platform, arch);
if (!build) {
throw new Error(`Terraform version ${version} not available for ${platform} and ${arch}`);
}
// Download requested version
const pathToCLI = await downloadCLI(buildObj.url);
const pathToCLI = await downloadCLI(build.url);
// Install our wrapper
if (wrapper) {
@ -193,11 +164,12 @@ async function run () {
// Add credentials to file if they are provided
if (credentialsHostname && credentialsToken) {
await addCredentials(credentialsHostname, credentialsToken, osPlat);
await addCredentials(credentialsHostname, credentialsToken, osPlatform);
}
return release;
} catch (error) {
core.error(error);
throw new Error(error);
throw error;
}
}

17110
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,47 +1,40 @@
{
"name": "setup-terraform",
"version": "1.0.0",
"version": "3.1.2",
"description": "Setup Terraform CLI for GitHub Actions",
"license": "MPL-2.0",
"publisher": "hashicorp",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/hashicorp/setup-terraform.git"
},
"scripts": {
"test": "cd wrapper && npm test && cd .. && semistandard --env jest && jest --coverage",
"lint": "cd wrapper && npm run lint && cd .. && semistandard --env jest --fix",
"build": "cd wrapper && npm run build && cd .. && ncc build index.js --out dist",
"postinstall": "cd wrapper && npm install"
"test": "semistandard --env jest && jest --coverage",
"lint": "semistandard --env jest --fix",
"build": "ncc build wrapper/terraform.js --out wrapper/dist && ncc build index.js --out dist",
"format-check": "echo \"unimplemented for actions/reusable-workflows basic-validation\""
},
"keywords": [],
"author": "",
"dependencies": {
"@actions/core": "^1.2.3",
"@actions/github": "^2.1.1",
"@actions/io": "^1.0.2",
"@actions/tool-cache": "^1.3.3",
"node-fetch": "^2.6.0",
"semver": "^7.1.3"
"@actions/core": "^1.11.1",
"@actions/exec": "^1.1.1",
"@actions/github": "^6.0.1",
"@actions/io": "^2.0.0",
"@actions/tool-cache": "^2.0.2",
"@hashicorp/js-releases": "^1.7.5",
"semver": "^7.7.3"
},
"devDependencies": {
"@zeit/ncc": "0.22.1",
"husky": "^4.2.3",
"jest": "^25.2.4",
"nock": "^12.0.3",
"semistandard": "^14.2.0"
},
"jest": {
"testPathIgnorePatterns": [
"<rootDir>/dist/",
"<rootDir>/node_modules/",
"<rootDir>/wrapper/"
]
"@vercel/ncc": "^0.38.4",
"jest": "^30.2.0",
"nock": "^14.0.10",
"semistandard": "^17.0.0"
},
"semistandard": {
"ignore": [
"dist/**",
"wrapper/**"
"**/dist/**"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run build && git add dist/"
}
}
}

View file

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
// Mock external modules by default
jest.mock('@actions/core');
jest.mock('@actions/tool-cache');
@ -68,11 +73,11 @@ describe('Setup Terraform', () => {
.get('/terraform/index.json')
.reply(200, json);
await setup();
const versionObj = await setup();
expect(versionObj.version).toEqual('0.1.1');
// downloaded CLI has been added to path
expect(core.addPath).toHaveBeenCalled();
// expect credentials are in ${HOME}.terraformrc
const creds = await fs.readFile(`${process.env.HOME}/.terraformrc`, { encoding: 'utf8' });
expect(creds.indexOf(credentialsHostname)).toBeGreaterThan(-1);
@ -94,6 +99,8 @@ describe('Setup Terraform', () => {
.fn()
.mockReturnValueOnce('file.zip');
io.mv = jest.fn();
tc.extractZip = jest
.fn()
.mockReturnValueOnce('file');
@ -110,7 +117,8 @@ describe('Setup Terraform', () => {
.get('/terraform/index.json')
.reply(200, json);
await setup();
const versionObj = await setup();
expect(versionObj.version).toEqual('0.1.1');
// downloaded CLI has been added to path
expect(core.addPath).toHaveBeenCalled();
@ -152,7 +160,8 @@ describe('Setup Terraform', () => {
.get('/terraform/index.json')
.reply(200, json);
await setup();
const versionObj = await setup();
expect(versionObj.version).toEqual('0.10.0');
// downloaded CLI has been added to path
expect(core.addPath).toHaveBeenCalled();
@ -163,6 +172,259 @@ describe('Setup Terraform', () => {
expect(creds.indexOf(credentialsToken)).toBeGreaterThan(-1);
});
test('gets latest version matching specification adds token and hostname on linux, amd64', async () => {
const version = '<0.10.0';
const credentialsHostname = 'app.terraform.io';
const credentialsToken = 'asdfjkl';
core.getInput = jest
.fn()
.mockReturnValueOnce(version)
.mockReturnValueOnce(credentialsHostname)
.mockReturnValueOnce(credentialsToken);
tc.downloadTool = jest
.fn()
.mockReturnValueOnce('file.zip');
tc.extractZip = jest
.fn()
.mockReturnValueOnce('file');
os.platform = jest
.fn()
.mockReturnValue('linux');
os.arch = jest
.fn()
.mockReturnValue('amd64');
nock('https://releases.hashicorp.com')
.get('/terraform/index.json')
.reply(200, json);
const versionObj = await setup();
expect(versionObj.version).toEqual('0.1.1');
// downloaded CLI has been added to path
expect(core.addPath).toHaveBeenCalled();
// expect credentials are in ${HOME}.terraformrc
const creds = await fs.readFile(`${process.env.HOME}/.terraformrc`, { encoding: 'utf8' });
expect(creds.indexOf(credentialsHostname)).toBeGreaterThan(-1);
expect(creds.indexOf(credentialsToken)).toBeGreaterThan(-1);
});
test('gets latest version matching tilde range patch', async () => {
const version = '~0.1.0';
const credentialsHostname = 'app.terraform.io';
const credentialsToken = 'asdfjkl';
core.getInput = jest
.fn()
.mockReturnValueOnce(version)
.mockReturnValueOnce(credentialsHostname)
.mockReturnValueOnce(credentialsToken);
tc.downloadTool = jest
.fn()
.mockReturnValueOnce('file.zip');
tc.extractZip = jest
.fn()
.mockReturnValueOnce('file');
os.platform = jest
.fn()
.mockReturnValue('linux');
os.arch = jest
.fn()
.mockReturnValue('amd64');
nock('https://releases.hashicorp.com')
.get('/terraform/index.json')
.reply(200, json);
const versionObj = await setup();
expect(versionObj.version).toEqual('0.1.1');
// downloaded CLI has been added to path
expect(core.addPath).toHaveBeenCalled();
// expect credentials are in ${HOME}.terraformrc
const creds = await fs.readFile(`${process.env.HOME}/.terraformrc`, { encoding: 'utf8' });
expect(creds.indexOf(credentialsHostname)).toBeGreaterThan(-1);
expect(creds.indexOf(credentialsToken)).toBeGreaterThan(-1);
});
test('gets latest version matching tilde range minor', async () => {
const version = '~0.1';
const credentialsHostname = 'app.terraform.io';
const credentialsToken = 'asdfjkl';
core.getInput = jest
.fn()
.mockReturnValueOnce(version)
.mockReturnValueOnce(credentialsHostname)
.mockReturnValueOnce(credentialsToken);
tc.downloadTool = jest
.fn()
.mockReturnValueOnce('file.zip');
tc.extractZip = jest
.fn()
.mockReturnValueOnce('file');
os.platform = jest
.fn()
.mockReturnValue('linux');
os.arch = jest
.fn()
.mockReturnValue('amd64');
nock('https://releases.hashicorp.com')
.get('/terraform/index.json')
.reply(200, json);
const versionObj = await setup();
expect(versionObj.version).toEqual('0.1.1');
// downloaded CLI has been added to path
expect(core.addPath).toHaveBeenCalled();
// expect credentials are in ${HOME}.terraformrc
const creds = await fs.readFile(`${process.env.HOME}/.terraformrc`, { encoding: 'utf8' });
expect(creds.indexOf(credentialsHostname)).toBeGreaterThan(-1);
expect(creds.indexOf(credentialsToken)).toBeGreaterThan(-1);
});
test('gets latest version matching tilde range minor', async () => {
const version = '~0';
const credentialsHostname = 'app.terraform.io';
const credentialsToken = 'asdfjkl';
core.getInput = jest
.fn()
.mockReturnValueOnce(version)
.mockReturnValueOnce(credentialsHostname)
.mockReturnValueOnce(credentialsToken);
tc.downloadTool = jest
.fn()
.mockReturnValueOnce('file.zip');
tc.extractZip = jest
.fn()
.mockReturnValueOnce('file');
os.platform = jest
.fn()
.mockReturnValue('linux');
os.arch = jest
.fn()
.mockReturnValue('amd64');
nock('https://releases.hashicorp.com')
.get('/terraform/index.json')
.reply(200, json);
const versionObj = await setup();
expect(versionObj.version).toEqual('0.10.0');
// downloaded CLI has been added to path
expect(core.addPath).toHaveBeenCalled();
// expect credentials are in ${HOME}.terraformrc
const creds = await fs.readFile(`${process.env.HOME}/.terraformrc`, { encoding: 'utf8' });
expect(creds.indexOf(credentialsHostname)).toBeGreaterThan(-1);
expect(creds.indexOf(credentialsToken)).toBeGreaterThan(-1);
});
test('gets latest version matching .X range ', async () => {
const version = '0.1.x';
const credentialsHostname = 'app.terraform.io';
const credentialsToken = 'asdfjkl';
core.getInput = jest
.fn()
.mockReturnValueOnce(version)
.mockReturnValueOnce(credentialsHostname)
.mockReturnValueOnce(credentialsToken);
tc.downloadTool = jest
.fn()
.mockReturnValueOnce('file.zip');
tc.extractZip = jest
.fn()
.mockReturnValueOnce('file');
os.platform = jest
.fn()
.mockReturnValue('linux');
os.arch = jest
.fn()
.mockReturnValue('amd64');
nock('https://releases.hashicorp.com')
.get('/terraform/index.json')
.reply(200, json);
const versionObj = await setup();
expect(versionObj.version).toEqual('0.1.1');
// downloaded CLI has been added to path
expect(core.addPath).toHaveBeenCalled();
// expect credentials are in ${HOME}.terraformrc
const creds = await fs.readFile(`${process.env.HOME}/.terraformrc`, { encoding: 'utf8' });
expect(creds.indexOf(credentialsHostname)).toBeGreaterThan(-1);
expect(creds.indexOf(credentialsToken)).toBeGreaterThan(-1);
});
test('gets latest version matching - range ', async () => {
const version = '0.1.0 - 0.1.1';
const credentialsHostname = 'app.terraform.io';
const credentialsToken = 'asdfjkl';
core.getInput = jest
.fn()
.mockReturnValueOnce(version)
.mockReturnValueOnce(credentialsHostname)
.mockReturnValueOnce(credentialsToken);
tc.downloadTool = jest
.fn()
.mockReturnValueOnce('file.zip');
tc.extractZip = jest
.fn()
.mockReturnValueOnce('file');
os.platform = jest
.fn()
.mockReturnValue('linux');
os.arch = jest
.fn()
.mockReturnValue('amd64');
nock('https://releases.hashicorp.com')
.get('/terraform/index.json')
.reply(200, json);
const versionObj = await setup();
expect(versionObj.version).toEqual('0.1.1');
// downloaded CLI has been added to path
expect(core.addPath).toHaveBeenCalled();
// expect credentials are in ${HOME}.terraformrc
const creds = await fs.readFile(`${process.env.HOME}/.terraformrc`, { encoding: 'utf8' });
expect(creds.indexOf(credentialsHostname)).toBeGreaterThan(-1);
expect(creds.indexOf(credentialsToken)).toBeGreaterThan(-1);
});
test('fails when metadata cannot be downloaded', async () => {
const version = 'latest';
const credentialsHostname = 'app.terraform.io';

View file

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
/**
* Acts as a listener for @actions/exec, by capturing STDOUT and STDERR
* streams, and exposing them via a contents attribute.
@ -15,13 +20,18 @@
* console.log(listener.contents);
*/
class OutputListener {
constructor () {
constructor (streamWriter) {
this._buff = [];
this._streamWriter = streamWriter;
}
get listener () {
const listen = function listen (data) {
this._buff.push(data);
if (this._streamWriter) {
this._streamWriter.write(data);
}
};
return listen.bind(this);
}

View file

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
const os = require('os');
const path = require('path');

7295
wrapper/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,27 +0,0 @@
{
"name": "terraform.js",
"version": "0.0.0",
"description": "JavaScript wrapper for terraform binary",
"main": "terraform.js",
"scripts": {
"test": "semistandard --env jest && jest --coverage",
"lint": "semistandard --env jest --fix",
"build": "ncc build terraform.js --out dist"
},
"author": "",
"dependencies": {
"@actions/core": "^1.2.3",
"@actions/exec": "^1.0.3",
"@actions/io": "^1.0.2"
},
"devDependencies": {
"@zeit/ncc": "0.22.1",
"jest": "^25.4.0",
"semistandard": "^14.2.0"
},
"semistandard": {
"ignore": [
"dist/**"
]
}
}

View file

@ -1,4 +1,9 @@
#!/usr/bin/env node
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
const io = require('@actions/io');
const core = require('@actions/core');
const { exec } = require('@actions/exec');
@ -16,9 +21,9 @@ async function checkTerraform () {
// This will fail if Terraform isn't found, which is what we want
await checkTerraform();
// Create listeners to receive output (in memory) as well
const stdout = new OutputListener();
const stderr = new OutputListener();
// Create listeners to receive output (in memory)
const stdout = new OutputListener(process.stdout);
const stderr = new OutputListener(process.stderr);
const listeners = {
stdout: stdout.listener,
stderr: stderr.listener
@ -28,21 +33,24 @@ async function checkTerraform () {
const args = process.argv.slice(2);
const options = {
listeners,
ignoreReturnCode: true
ignoreReturnCode: true,
silent: true // avoid printing command in stdout: https://github.com/actions/toolkit/issues/649
};
const exitCode = await exec(pathToCLI, args, options);
core.debug(`Terraform exited with code ${exitCode}.`);
core.debug(`stdout: ${stdout.contents}`);
core.debug(`stderr: ${stderr.contents}`);
core.debug(`exitcode: ${exitCode}`);
// Set outputs, result, exitcode, and stderr
core.setOutput('stdout', stdout.contents);
core.setOutput('stderr', stderr.contents);
core.setOutput('exitcode', exitCode.toString(10));
// A non-zero exitCode is considered an error
if (exitCode !== 0) {
core.setFailed(`Terraform exited with code ${exitCode}.`);
if (exitCode === 0 || exitCode === 2) {
// A exitCode of 0 is considered a success
// An exitCode of 2 may be returned when the '-detailed-exitcode' option
// is passed to plan. This denotes Success with non-empty
// diff (changes present).
return;
}
// A non-zero exitCode is considered an error
core.setFailed(`Terraform exited with code ${exitCode}.`);
})();

View file

@ -1,12 +1,36 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
const OutputListener = require('../lib/output-listener');
describe('output-listener', () => {
it('receives and exposes data', () => {
it('receives and buffers data to .contents', () => {
const listener = new OutputListener();
const listen = listener.listener;
listen(Buffer.from('foo'));
listen(Buffer.from('bar'));
listen(Buffer.from('baz'));
expect(listener.contents).toEqual('foobarbaz');
});
it('receives and writes data to stream immediately', () => {
const mockWrite = jest.fn();
const listener = new OutputListener({ write: mockWrite });
const listen = listener.listener;
listen(Buffer.from('first write'));
expect(mockWrite.mock.lastCall[0]).toStrictEqual(Buffer.from('first write'));
listen(Buffer.from('second write'));
expect(mockWrite.mock.lastCall[0]).toStrictEqual(Buffer.from('second write'));
listen(Buffer.from('third write'));
expect(mockWrite.mock.lastCall[0]).toStrictEqual(Buffer.from('third write'));
expect(mockWrite).toHaveBeenCalledTimes(3);
});
});