You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add two new samples (or one sample with 2 region tags) for creating an IAM service account and then granting it a role on a resource. For example, creating a new service account for GKE nodes to use, then granting it the roles/container.defaultNodeServiceAccount role on the project.
TL;DR
Add two new samples (or one sample with 2 region tags) for creating an IAM service account and then granting it a role on a resource. For example, creating a new service account for GKE nodes to use, then granting it the
roles/container.defaultNodeServiceAccount
role on the project.Terraform Resources
Detailed design
For the sample, make the following values in variable syntax (all caps, underscore-delimited):
ROLE
account_id
value:SERVICE_ACCOUNT_ID
display_name
value:DISPLAY_NAME
"admin-account-iam"
?ROLE_RESOURCE
For the IAM binding's
member
field, I think we can useserviceAccount:${google_service_account.sa.email}
Additional information
No response
The text was updated successfully, but these errors were encountered: