Google Cloud Platform · Arazzo Workflow
Google Cloud Platform Copy Project IAM Policy
Version 1.0.0
Read the IAM policy of a source project and apply its bindings to a target project.
View Spec
View on GitHub
API ManagementCloud ComputingInfrastructurePlatform as a ServiceArazzoWorkflows
Provider
Workflows
copy-project-iam-policy
Copy IAM bindings from a source project onto a target project.
Reads the source policy bindings, captures the target etag, writes the source bindings onto the target, then confirms.
1
getSourcePolicy
cloudresourcemanager.projects.getIamPolicy
Read the source project IAM policy to capture the bindings to copy.
2
getTargetPolicy
cloudresourcemanager.projects.getIamPolicy
Read the target project IAM policy to capture its etag for safe replacement.
3
applyPolicy
cloudresourcemanager.projects.setIamPolicy
Write the source bindings onto the target project, passing the target's etag for optimistic concurrency.
4
confirmTarget
cloudresourcemanager.projects.getIamPolicy
Re-read the target project policy to confirm the copied bindings.