Skip to content

Commit 31ed716

Browse files
authored
Merge branch 'main' into patch-3
2 parents f52b162 + ecfe3eb commit 31ed716

File tree

428 files changed

+13999
-5638
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

428 files changed

+13999
-5638
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ labels: bug
99
Hi there,
1010
1111
Thank you for opening an issue! Please note that we try to keep the this issue tracker reserved for
12-
bug reports and feature requests related to the Terraform Cloud/Enterprise provider. If you know
13-
your issue relates to the Terraform Cloud/Enterprise platform itself, please contact
12+
bug reports and feature requests related to the HCP Terraform and Terraform Enterprise provider. If you know
13+
your issue relates to the HCP Terraform or Terraform Enterprise platform itself, please contact
1414
[email protected]. For general usage questions, please post to our community forum:
1515
https://discuss.hashicorp.com.
1616
-->
1717

18-
#### Terraform Cloud/Enterprise version
18+
#### Terraform Enterprise version
1919

2020
<!---
21-
Are you using Terraform Cloud or Terraform Enterprise? If Terraform Enterprise, please include the version
21+
If you are using Terraform Enterprise, please include the version
2222
Example: Terraform Enterprise v202104-1
2323
-->
2424

@@ -27,8 +27,8 @@ Example: Terraform Enterprise v202104-1
2727
<!---
2828
If you are using Terraform CLI, run `terraform version` to show the version.
2929
30-
If you are using Terraform Cloud or Terraform Enterprise, see the Terraform version being used by a
31-
workspace in the workspace's Overview tab.
30+
If you are using a remote workspace in HCP Terraform or Terraform Enterprise, see the Terraform version
31+
being used by the workspace in the workspace's Overview tab.
3232
3333
Paste the result between the ``` marks below.
3434
-->

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
blank_issues_enabled: false
55
contact_links:
6-
- name: Terraform Cloud/Enterprise Troubleshooting and Feature Requests
6+
- name: HCP Terraform or Terraform Enterprise Troubleshooting and Feature Requests
77
url: https://support.hashicorp.com/hc/en-us/requests/new
8-
about: For issues and feature requests concerning the Terraform Cloud/Enterprise platform itself, please submit a HashiCorp support request or email [email protected]
8+
about: For issues and feature requests concerning the HCP Terraform and Terraform Enterprise platform itself, please submit a HashiCorp support request or email [email protected]
99
- name: Terraform Language or Workflow Questions
1010
url: https://discuss.hashicorp.com
1111
about: Please ask Terraform language or workflow related questions through the HashiCorp Discuss forum

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ labels: feature-request
99
Hi there,
1010
1111
Thank you for opening a request! Please note that we try to keep the this issue tracker reserved for
12-
bug reports and feature requests related to the Terraform Cloud/Enterprise provider. If you know
13-
your request relates to the Terraform Cloud/Enterprise platform itself, please contact
12+
bug reports and feature requests related to the HCP Terraform and Terraform Enterprise provider. If you know
13+
your request relates to the HCP Terraform and Terraform Enterprise platform itself, please contact
1414
[email protected]. For general usage questions, please post to our community forum:
1515
https://discuss.hashicorp.com.
1616
-->

.github/actions/lint-provider-tfe/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
using: composite
88
steps:
99
- name: Setup Go Environment
10-
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
10+
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
1111
with:
1212
go-version-file: "go.mod"
1313
cache: true

.github/actions/test-provider-tfe/action.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,25 @@ name: Test
55
description: Tests terraform-provider-tfe within a matrix
66
inputs:
77
admin_configuration_token:
8-
description: TFC Admin API Configuration role token
8+
description: HCP Terraform Admin API Configuration role token
99
required: true
1010
admin_provision_licenses_token:
11-
description: TFC Admin API Provision Licenses role token
11+
description: HCP Terraform Admin API Provision Licenses role token
1212
required: true
1313
admin_security_maintenance_token:
14-
description: TFC Admin API Security Maintenance role token
14+
description: HCP Terraform Admin API Security Maintenance role token
1515
required: true
1616
admin_site_admin_token:
17-
description: TFC Admin API Site Admin role token
17+
description: HCP Terraform Admin API Site Admin role token
1818
required: true
1919
admin_subscription_token:
20-
description: TFC Admin API Subscription role token
20+
description: HCP Terraform Admin API Subscription role token
2121
required: true
2222
admin_support_token:
23-
description: TFC Admin API Support role token
23+
description: HCP Terraform Admin API Support role token
2424
required: true
2525
admin_version_maintenance_token:
26-
description: TFC Admin API Version Maintenance role token
26+
description: HCP Terraform Admin API Version Maintenance role token
2727
required: true
2828
matrix_index:
2929
description: Index of the matrix strategy runner
@@ -32,10 +32,10 @@ inputs:
3232
description: Total number of matrix strategy runners
3333
required: true
3434
hostname:
35-
description: Hostname of the Terraform Cloud instance to test against
35+
description: Hostname of the HCP Terraform or Terraform Enterprise instance to test against
3636
required: true
3737
token:
38-
description: Terraform Cloud token
38+
description: HCP Terraform or Terraform Enterprise token
3939
required: true
4040
testing-github-token:
4141
description: The GitHub token used for testing scenarios
@@ -52,7 +52,7 @@ runs:
5252
using: composite
5353
steps:
5454
- name: Set up Go
55-
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
55+
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
5656
with:
5757
go-version-file: go.mod
5858
cache: true
@@ -69,7 +69,7 @@ runs:
6969

7070
- name: Download artifact
7171
id: download-artifact
72-
uses: dawidd6/action-download-artifact@246dbf436b23d7c49e21a7ab8204ca9ecd1fe615 # v2.27.0
72+
uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe # v3.1.4
7373
with:
7474
workflow_conclusion: success
7575
name: junit-test-summary
@@ -102,7 +102,7 @@ runs:
102102
TFE_USER2: tfe-provider-user2
103103
TF_ACC: "1"
104104
ENABLE_TFE: "${{ inputs.enterprise }}"
105-
TFC_RUN_TASK_URL: "https://httpstat.us/200"
105+
RUN_TASKS_URL: "http://testing-mocks.tfe:22180/runtasks/pass"
106106
GITHUB_POLICY_SET_IDENTIFIER: "hashicorp/test-policy-set"
107107
GITHUB_REGISTRY_MODULE_IDENTIFIER: "hashicorp/terraform-random-module"
108108
GITHUB_WORKSPACE_IDENTIFIER: "hashicorp/terraform-random-module"

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: lint
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
16+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1717
- uses: ./.github/actions/lint-provider-tfe
1818

1919
tests:
@@ -29,13 +29,13 @@ jobs:
2929
steps:
3030
- name: Fetch Outputs
3131
id: tflocal
32-
uses: hashicorp-forge/terraform-cloud-action/outputs@4adbe7eea886138ac10a4c09e63c5c568aaa6672 # main
32+
uses: hashicorp-forge/terraform-cloud-action/outputs@5583d5f554d268ac91b3c37fd0a5e9da2c78c017 # v1.1.0
3333
with:
3434
token: "${{ secrets.TF_WORKFLOW_TFLOCAL_CLOUD_TFC_TOKEN }}"
3535
organization: hashicorp-v2
3636
workspace: tflocal-terraform-provider-tfe
3737

38-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
38+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
3939

4040
- uses: ./.github/actions/test-provider-tfe
4141
with:
@@ -62,12 +62,12 @@ jobs:
6262
needs: [ tests ]
6363
runs-on: ubuntu-latest
6464
steps:
65-
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
65+
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
6666
with:
67-
node-version: 16
67+
node-version: 20
6868

6969
- name: Download artifacts
70-
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
70+
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
7171

7272
- name: Install junit-report-merger
7373
run: npm install -g junit-report-merger
@@ -76,7 +76,7 @@ jobs:
7676
run: jrm ./ci-summary-provider.xml "junit-test-summary-0/*.xml" "junit-test-summary-1/*.xml" "junit-test-summary-2/*.xml" "junit-test-summary-3/*.xml" "junit-test-summary-4/*.xml"
7777

7878
- name: Upload test artifacts
79-
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
79+
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
8080
with:
8181
name: junit-test-summary
8282
path: ./ci-summary-provider.xml

.github/workflows/create-release-pr.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
outputs:
1818
version: ${{ steps.remove-leading-v.outputs.version }}
1919
steps:
20-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
20+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2121

2222
- uses: actions-ecosystem/action-get-latest-tag@b7c32daec3395a9616f88548363a42652b22d435 # v1.6.0
2323
id: get-latest-tag
@@ -33,9 +33,9 @@ jobs:
3333
buildBinary:
3434
runs-on: ubuntu-latest
3535
steps:
36-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
36+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
3737
- name: Set up Go
38-
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
38+
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
3939
with:
4040
go-version-file: go.mod
4141
cache: true
@@ -51,7 +51,7 @@ jobs:
5151
go build -o terraform-provider-tfe
5252
5353
- name: Upload test artifacts
54-
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
54+
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
5555
with:
5656
name: terraform-provider-tfe
5757
path: terraform-provider-tfe
@@ -68,28 +68,28 @@ jobs:
6868
CHECKPOINT_DISABLE: "1"
6969
timeout-minutes: 120
7070
steps:
71-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
71+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
7272
- run: git config --global user.email "[email protected]"
7373
- run: git config --global user.name "Brandon Croft"
7474
- name: Get yarn cache directory path
7575
id: global-cache-dir-path
7676
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
77-
- uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
77+
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
7878
id: global-cache
7979
with:
8080
path: ${{ steps.global-cache-dir-path.outputs.dir }}
8181
key: ${{ runner.os }}-integration-yarn-${{ hashFiles('**/yarn.lock') }}
8282

8383
- name: Setup Node.js
84-
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
84+
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
8585
with:
86-
node-version: "18.x"
86+
node-version: "20.x"
8787

8888
- name: Install cdktf-registry-docs
8989
run: npm install -g [email protected]
9090

9191
- name: Download artifacts
92-
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
92+
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
9393
with:
9494
name: terraform-provider-tfe
9595

@@ -102,7 +102,7 @@ jobs:
102102
TF_PLUGIN_CACHE_DIR: ${{ steps.global-cache-dir-path.outputs.dir }}/terraform-plugins
103103

104104
- name: Create Pull Request
105-
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2
105+
uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e # v6.0.5
106106
with:
107107
commit-message: "cdktf: update documentation"
108108
title: "release: ${{ github.event.inputs.version }}"
@@ -111,7 +111,7 @@ jobs:
111111
112112
This PR is meant to automate certain preparations for release and instruct maintainers on the manual release tasks. Push any changes you make to this branch and merge it just before creating a release.
113113
114-
1. Ensure both main and nightly CI actions passed. These test the release version against TFC and TFE, respectively.
114+
1. Ensure both main and nightly CI actions passed. These test the release version against HCP Terraform and Terraform Enterprise, respectively.
115115
2. Review the CHANGELOG and ensure and ensure [everything that's changed since the last release](https://github.com/hashicorp/terraform-provider-tfe/compare/v${{ needs.releasedVersion.outputs.version }}...main) is described. If anything is missing, inaccurate, or unclear, now is the time to fix it! Check the CHANGELOG organization: pull breaking changes to the top and make sure the most important features are at the top of the FEATURES list. Check the version header in the changelog. It must be: `## v${{ github.event.inputs.version }}`
116116
3. Bump the static versions given as an example in the `website/docs/index.html.markdown` docs
117117
4. Bump the static versions given in the README installation section.

.github/workflows/mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout main
14-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
14+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1515

1616
- name: Deploy docs
1717
uses: mhausenblas/mkdocs-deploy-gh-pages@d77dd03172e96abbcdb081d8c948224762033653 # 1.26

.github/workflows/nightly-tfe-test.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ on:
88
jobs:
99
instance:
1010
runs-on: ubuntu-latest
11-
timeout-minutes: 10
11+
timeout-minutes: 20
1212
steps:
1313
- name: Build nightly tflocal instance
14-
uses: hashicorp-forge/terraform-cloud-action/apply@4adbe7eea886138ac10a4c09e63c5c568aaa6672 # main
14+
uses: hashicorp-forge/terraform-cloud-action/apply@5583d5f554d268ac91b3c37fd0a5e9da2c78c017 # v1.1.0
1515
with:
1616
token: ${{ secrets.TF_WORKFLOW_TFLOCAL_CLOUD_TFC_TOKEN }}
1717
organization: "hashicorp-v2"
@@ -30,13 +30,13 @@ jobs:
3030
steps:
3131
- name: Fetch Outputs
3232
id: tflocal
33-
uses: hashicorp-forge/terraform-cloud-action/outputs@4adbe7eea886138ac10a4c09e63c5c568aaa6672 # main
33+
uses: hashicorp-forge/terraform-cloud-action/outputs@5583d5f554d268ac91b3c37fd0a5e9da2c78c017 # v1.1.0
3434
with:
3535
token: "${{ secrets.TF_WORKFLOW_TFLOCAL_CLOUD_TFC_TOKEN }}"
3636
organization: hashicorp-v2
3737
workspace: tflocal-terraform-provider-tfe-nightly
3838

39-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
39+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
4040

4141
- uses: ./.github/actions/test-provider-tfe
4242
with:
@@ -65,7 +65,7 @@ jobs:
6565
runs-on: ubuntu-latest
6666
steps:
6767
- name: Send slack notification on failure
68-
uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v1.24.0
68+
uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0
6969
with:
7070
payload: |
7171
{
@@ -96,20 +96,19 @@ jobs:
9696
needs: [tests-summarize]
9797
if: "${{ always() }}"
9898
steps:
99-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
99+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
100100

101101
- name: Set up Go
102-
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
102+
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
103103
with:
104104
go-version-file: go.mod
105105
check-latest: true
106106
cache: true
107107

108108
- name: Destroy nightly tflocal instance
109-
uses: hashicorp-forge/terraform-cloud-action/destroy@4adbe7eea886138ac10a4c09e63c5c568aaa6672 # main
109+
uses: hashicorp-forge/terraform-cloud-action/destroy@5583d5f554d268ac91b3c37fd0a5e9da2c78c017 # v1.1.0
110110
with:
111111
token: ${{ secrets.TF_WORKFLOW_TFLOCAL_CLOUD_TFC_TOKEN }}
112112
organization: "hashicorp-v2"
113113
workspace: tflocal-terraform-provider-tfe-nightly
114114
wait: true
115-
is-destroy: true

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
release-notes:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
15+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1616
with:
1717
fetch-depth: 0
1818
- name: Generate Release Notes
1919
run: sed -n -e "1{/# /d;}" -e "2{/^$/d;}" -e "/# $(git describe --abbrev=0 --exclude="$(git describe --abbrev=0 --match='v*.*.*' --tags)" --match='v*.*.*' --tags | tr -d v)/q;p" CHANGELOG.md > release-notes.txt
20-
- uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
20+
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
2121
with:
2222
name: release-notes
2323
path: release-notes.txt

0 commit comments

Comments
 (0)