无法在GCP中添加标签。需要compute.instances.createTagBinding权限。

huangapple go评论63阅读模式
英文:

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:

Creating and managing tags

huangapple
  • 本文由 发表于 2023年6月6日 12:22:34
  • 转载请务必保留本文链接:https://go.coder-hub.com/76411431.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定