mirror of
https://github.com/google-github-actions/auth.git
synced 2026-06-05 19:53:29 +00:00
Clarify docs
This commit is contained in:
parent
7e38fb10d3
commit
60569fa4c7
1 changed files with 12 additions and 0 deletions
12
README.md
12
README.md
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue