File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
.github/actions/terratest Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 3737 workload_identity_provider : ${{ env.WORKLOAD_IDENTITY_PROVIDER }}
3838 service_account : ${{ env.GCP_SERVICE_ACCOUNT}}
3939
40+ - name : Set up Cloud SDK
41+ uses : " google-github-actions/setup-gcloud@v2"
42+ with :
43+ version : " 469.0.0"
44+
45+ - name : Elevate permissions
46+ shell : bash
47+ env :
48+ ORG_ID : ${{ env.ORG_ID }}
49+ run : |
50+ gcloud beta pam grants create \
51+ --entitlement=custom-network-security-endpoint-admin-auto \
52+ --location=global \
53+ --organization="$ORG_ID" \
54+ --requested-duration=3600s \
55+ --justification="On demand Idempotence on ${{ github.repository }} test for PR - (#${{ github.event.inputs.pr-id }}) ${{ github.event.inputs.pr-title }}"
56+
4057 - name : ${{ inputs.terratest_action }} infrastructure
4158 env :
4259 TPATH : ${{ inputs.path }}
You can’t perform that action at this time.
0 commit comments