Closed nuxzero closed 1 year ago
For my case, I missed the API Gateway Admin role in my service account. After adding this role on the console it's working. However, I'm not able to add this role via command line.
gcloud iam service-accounts add-iam-policy-binding "github-service-account@${PROJECT_ID}.iam.gserviceaccount.com" \
--project="${PROJECT_ID}" \
--role="roles/apigateway.admin" \
--member="principalSet://iam.googleapis.com/${WORKLOAD_IDENTITY_POOL_ID}/attribute.repository/${REPO}"
Error
ERROR: (gcloud.iam.service-accounts.add-iam-policy-binding) INVALID_ARGUMENT: Role roles/apigateway.admin is not supported for this resource.
Hello,
I am trying to update API Gateway but it doesn't work. When the Update API Gateway config has been run and it got
PERMIMSSION_DENIED
error. Not really sure, what is missing in the below actions config? I used the guide to setup the Workload Identity Federation https://github.com/marketplace/actions/authenticate-to-google-cloud#setting-up-workload-identity-federation.Error
Full logs