[英]Permission error when setting IAM policy on Artifact Registry in GCP
[英]Error binding IAM policy when setting up cloud functions with endpoints
我正在按照以下说明设置具有Cloud功能的Google Cloud Endpoints。
我设法通过Cloud Run设置了ESP,并配置了端点,但是现在我绑定了IAM策略以授予ESP调用云功能的权限。
调用此错误时:
gcloud beta functions add-iam-policy-binding FUNCTION_NAME \
--member "serviceAccount:ESP_PROJECT_NUMBER-compute@developer.gserviceaccount.com" \
--role "roles/cloudfunctions.invoker" \
--project FUNCTIONS_PROJECT_ID
我收到以下错误:
ERROR: (gcloud.beta.functions.add-iam-policy-binding) ResponseError: status=[400], code=[Bad Request], message=[Invalid JSON payload received. Unknown name "options_requestedPolicyVersion": Cannot bind query parameter. Field 'options_requestedPolicyVersion' could not be found in request message.]
请注意,这是一个错误,现已由Google开发人员团队进行了更新。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.