generate_gcp_iam_policy
Generate GCP IAM Terraform, gcloud commands, service accounts, and Workload Identity Federation configuration
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>"
},
"name": "generate_gcp_iam_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | GCP project ID | |
| bindings | No | IAM bindings [{role, members}] | |
| conditions | No | IAM conditions [{title, expression}] | |
| serviceAccounts | No | Service accounts [{name, roles}] | |
| workloadIdentity | No | Workload Identity Federation config {pool, provider, attribute} |