File tree Expand file tree Collapse file tree 4 files changed +9
-7
lines changed
actions/test-provider-tfe Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 69
69
70
70
- name : Download artifact
71
71
id : download-artifact
72
- uses : dawidd6/action-download-artifact@246dbf436b23d7c49e21a7ab8204ca9ecd1fe615 # v2.27.0
72
+ uses : dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe # v3.1.4
73
73
with :
74
74
workflow_conclusion : success
75
75
name : junit-test-summary
Original file line number Diff line number Diff line change 29
29
steps :
30
30
- name : Fetch Outputs
31
31
id : tflocal
32
- uses : hashicorp-forge/terraform-cloud-action/outputs@4adbe7eea886138ac10a4c09e63c5c568aaa6672 # main
32
+ uses : hashicorp-forge/terraform-cloud-action/outputs@5583d5f554d268ac91b3c37fd0a5e9da2c78c017 # v1.1.0
33
33
with :
34
34
token : " ${{ secrets.TF_WORKFLOW_TFLOCAL_CLOUD_TFC_TOKEN }}"
35
35
organization : hashicorp-v2
Original file line number Diff line number Diff line change 11
11
timeout-minutes : 20
12
12
steps :
13
13
- 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
15
15
with :
16
16
token : ${{ secrets.TF_WORKFLOW_TFLOCAL_CLOUD_TFC_TOKEN }}
17
17
organization : " hashicorp-v2"
30
30
steps :
31
31
- name : Fetch Outputs
32
32
id : tflocal
33
- uses : hashicorp-forge/terraform-cloud-action/outputs@4adbe7eea886138ac10a4c09e63c5c568aaa6672 # main
33
+ uses : hashicorp-forge/terraform-cloud-action/outputs@5583d5f554d268ac91b3c37fd0a5e9da2c78c017 # v1.1.0
34
34
with :
35
35
token : " ${{ secrets.TF_WORKFLOW_TFLOCAL_CLOUD_TFC_TOKEN }}"
36
36
organization : hashicorp-v2
@@ -106,10 +106,9 @@ jobs:
106
106
cache : true
107
107
108
108
- 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
110
110
with :
111
111
token : ${{ secrets.TF_WORKFLOW_TFLOCAL_CLOUD_TFC_TOKEN }}
112
112
organization : " hashicorp-v2"
113
113
workspace : tflocal-terraform-provider-tfe-nightly
114
114
wait : true
115
- is-destroy : true
Original file line number Diff line number Diff line change @@ -61,7 +61,10 @@ func TestAccTFEPolicySet_pinnedPolicyRuntimeVersion(t *testing.T) {
61
61
sha := genSentinelSha (t , "secret" , "data" )
62
62
version := genSafeRandomSentinelVersion ()
63
63
64
- adminClient := testAdminClient (t , versionMaintenanceAdmin )
64
+ adminClient := tfeClient
65
+ if ! enterpriseEnabled () {
66
+ adminClient = testAdminClient (t , versionMaintenanceAdmin )
67
+ }
65
68
66
69
opts := tfe.AdminSentinelVersionCreateOptions {
67
70
Version : version ,
You can’t perform that action at this time.
0 commit comments