resource-groups:GetTags is a Read access-level action in the resource-groups service. Grants permission to get the tags associated with a specified resource group
ARNs that resource-groups:GetTags can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants resource-groups:GetTags.
Filters access by tag key-value pairs attached to the resource
A minimal policy that allows resource-groups:GetTags. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowResourcegroupsGetTags",
"Effect": "Allow",
"Action": "resource-groups:GetTags",
"Resource": "*"
}
]
}