英文:
Unable to add tags in GCP. Require compute.instances.createTagBinding permissions
问题
我正在尝试为我的实例添加标签,我只有基本的编辑权限,即使对于基本权限来说,它们也相当多。无论如何,当我尝试添加标签时,它显示:资源:instance-1 compute.instances.createTagBinding
。我尝试在我的经理帐户中查找特定权限,就在他面前,但我无法找到它们。我在“我的项目”>“IAM”中搜索了这些特定权限>点击了我的用户极右边的铅笔图标。我找不到这些特定权限。没有与createTagBinding相关的内容。
但是,我确实拥有标签管理员权限,但不幸的是,这些权限是不同的。
英文:
I am trying to add tags to my instances and I only have the basic editor permissions, even for basic, they are quite a lot of them. Anyways, when I try to add tags it says: Resouce: instance-1 compute.instances.createTagBinding
I tried searching for the specific permissions in roles from my manager's account, in front of him but I wasn't able to find them. I searched them in My Project > IAM > Clicked on the pencil icon on the extreme right of my user. I could not find these specific permissions. There was nothing related to createTagBinding.
However, I was provided the Tag administrator permissions though but unfortunately those are different.
答案1
得分: 1
"roles/editor" IAM 角色具有有限的计算引擎标记权限:
- compute.instances.listEffectiveTags
- compute.instances.listTagBindings
- compute.instances.setTags
其中之一授予创建标记权限的角色是 "roles/resourcemanager.tagUser"。
有关角色和权限的更多信息,请参阅:
英文:
The IAM role roles/editor
has limited compute engine tag permission:
- compute.instances.listEffectiveTags
- compute.instances.listTagBindings
- compute.instances.setTags
One of the roles that grant permissions to create tags is roles/resourcemanager.tagUser
.
For more information regarding roles and permissions:
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论