0

Is it possible to set IAM policy of Cloud Endpoints Services using Config Connector?

Per the Endpoints documentation I need to grant the GCP service account the servicecontroller role. Here's the corresponding gcloud command.

gcloud endpoints services add-iam-policy-binding SERVICE_NAME \
  --member serviceAccount:SERVICE_ACCOUNT_NAME@DEPLOY_PROJECT_ID.iam.gserviceaccount.com \
  --role roles/servicemanagement.serviceController

I would like to achieve this using Cloud Config Connector. I don't see the Cloud Endpoints resource listed in IAMPolicyMember so I assume its not possible.

I wanted to check I'm not missing something.

Jeremy
  • 2,249
  • 2
  • 17
  • 18

0 Answers0