Clarify docs

This commit is contained in:
Seth Vargo 2022-11-04 15:12:05 -04:00
parent 7e38fb10d3
commit 60569fa4c7
No known key found for this signature in database
GPG Key ID: 9C01CC8AB5D3F179

View File

@ -554,6 +554,11 @@ Terraform module to automate your infrastructure provisioning. See [examples](ht
```sh
export WORKLOAD_IDENTITY_POOL_ID="..." # value from above
# This should look like:
#
# projects/123456789/locations/global/workloadIdentityPools/my-pool
#
```
@ -597,6 +602,13 @@ Terraform module to automate your infrastructure provisioning. See [examples](ht
--member="principalSet://iam.googleapis.com/${WORKLOAD_IDENTITY_POOL_ID}/attribute.repository/${REPO}"
```
Note that `$WORKLOAD_IDENTITY_POOL_ID` should be the **full** Workload
Identity Pool resource ID, like:
```text
projects/123456789/locations/global/workloadIdentityPools/my-pool
```
1. Extract the Workload Identity **Provider** resource name:
```sh