Google Cloud Platform · Arazzo Workflow
Google Cloud Platform Update Project IAM Policy
Version 1.0.0
Read a project IAM policy, add a member binding, and write the policy back with the etag.
View Spec
View on GitHub
API ManagementCloud ComputingInfrastructurePlatform as a ServiceArazzoWorkflows
Provider
Workflows
update-project-iam-policy
Grant an IAM role to a member on a project using read-modify-write.
Reads the current project IAM policy, sets a new binding with the captured etag, then re-reads the policy to confirm.
1
getPolicy
cloudresourcemanager.projects.getIamPolicy
Read the current IAM policy for the project to capture its etag and version for the subsequent set call.
2
setPolicy
cloudresourcemanager.projects.setIamPolicy
Write back a policy granting the role to the member. The captured etag is supplied for optimistic concurrency to avoid clobbering changes.
3
confirmPolicy
cloudresourcemanager.projects.getIamPolicy
Re-read the IAM policy to confirm the new binding was persisted.