ERROR: (gcloud.compute.instance-groups.managed.rolling-action.replace) Could not fetch resource
ERROR: (gcloud.compute.instance-groups.managed.rolling-action.replace) Could not fetch resource
我正在尝试为 google 云上的实例组中的虚拟机设置健康检查,但每当我尝试构建项目时,我都会收到此错误。
Already have image (with digest): gcr.io/cloud-builders/gcloud
ERROR: (gcloud.compute.instance-groups.managed.rolling-action.replace) Could not fetch resource:
- Required 'compute.healthChecks.use' permission for 'projects/MY-PROJECT-ID/global/healthChecks/hc'
当我删除 healthcheck 时构建成功完成。
我应该启用哪些权限?
因此 Compute Engine roles 您需要:
roles/compute.loadBalancerAdmin
或
roles/compute.networkAdmin
我正在尝试为 google 云上的实例组中的虚拟机设置健康检查,但每当我尝试构建项目时,我都会收到此错误。
Already have image (with digest): gcr.io/cloud-builders/gcloud
ERROR: (gcloud.compute.instance-groups.managed.rolling-action.replace) Could not fetch resource:
- Required 'compute.healthChecks.use' permission for 'projects/MY-PROJECT-ID/global/healthChecks/hc'
当我删除 healthcheck 时构建成功完成。
我应该启用哪些权限?
因此 Compute Engine roles 您需要:
roles/compute.loadBalancerAdmin
或roles/compute.networkAdmin