我正在设置权限,以允许用户使用GCP AI平台中预先创建的AI平台VM实例。我创建了一个具有权限的自定义角色
compute.acceleratorTypes.list
compute.diskTypes.list
compute.instances.list
compute.instances.start
compute.instances.stop
compute.machineTypes.list
compute.subnetworks.list
iam.serviceAccounts.actAs
notebooks.environments.get
notebooks.environments.getIamPolicy
notebooks.environments.list
notebooks.instances.get
notebooks.instances.getIamPolicy
notebooks.instances.list
notebooks.locations.get
notebooks.locations.list
notebooks.operations.get
notebooks.operations.list
resourcemanager.projects.get
用户可以从GCP控制台的“计算引擎”部分启动和停止实例,但是可以从“ AI平台”部分启动和停止实例。当我尝试使用后者时,出现错误:
sample-ai-platform-vm: Permission 'notebooks.instances.start' denied on 'projects/test-project/locations/us-east1-b/instances/sample-ai-platform-vm'
知道发生了什么吗?
答案 0 :(得分:2)