我正在设置用户在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控制台的Compute部分启动和停止实例,但不能从AI平台部分启动和停止实例。当我尝试后者时,我会得到一个错误:
sample-ai-platform-vm: Permission 'notebooks.instances.start' denied on 'projects/test-project/locations/us-east1-b/instances/sample-ai-platform-vm'知道怎么回事吗?
发布于 2020-10-07 20:50:32
您需要添加以下权限:
notebooks.instances.start
notebooks.instances.stop您可以查看“笔记本管理员”角色,以供参考:
https://stackoverflow.com/questions/64249594
复制相似问题