Skip to content
Proud to collaborate with Microsoft for Startups

gcp.iam.binding.create ​

Grant project-level IAM roles to a principal

Grants IAM role(s) to a principal on a GCP project. Idempotent — the underlying LTIP driver handles the etag retry loop.

Inputs:

  • connection_uuid: Cloud connection UUID (required)
  • member: IAM principal, e.g. "serviceAccount:foo@bar.iam.gserviceaccount.com" (required)
  • roles: List of role strings (required)
  • project_id: Explicit project_id (optional; defaults to connection)

Outputs:

  • member
  • roles
  • project_id

Overview ​

PropertyValue
Workflow typeAtomic
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes——
memberstringYes——
rolesjsonYes——
project_idstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
memberstringNo——
project_idstringNo——
rolesjsonNo——
connection_uuiduuidNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "gcp.iam.binding.create",
  "initial_data": {
    "connection_uuid": "value",
    "member": "value",
    "roles": "value"
  }
}