Skip to main content
IAM Policy Map

ResourceGroupsandTagEditorReadOnlyAccess

ReaderAWS managedActiveReviewedShow on mapCompare

Summary

Provides access to use Resource Groups and Tag Editor, but does not allow editing of tags via the Tag Editor. The Resource Groups User Guide says it grants the permissions required for read only access to Resource Groups and Tag Editor functionality.

Permissions imported from the AWS Managed Policy Reference Guide; other sections reviewed against the listed AWS sources.

Identity

ARN
arn:aws:iam::aws:policy/ResourceGroupsandTagEditorReadOnlyAccess
Default version
v3
Created
Last edited
Services
cloudformation, resource-groups, tag

Control-plane actions (19)

By access level: 9 List, 10 Read.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudFormation3 of 1043 List; 0 restricted, 0 conditionalcloudformation:DescribeStacks, cloudformation:ListStackResources, cloudformation:ListStacks
Resource Groups13 of 296 List, 7 Read; 0 restricted, 0 conditionalresource-groups:Get*, resource-groups:List*, resource-groups:Search*
Resource Group Tagging3 of 93 Read; 0 restricted, 0 conditionaltag:getResources, tag:getTagKeys, tag:getTagValues
CloudFormation: 3 actions
  • cloudformation:DescribeStacks (List)
  • cloudformation:ListStackResources (List)
  • cloudformation:ListStacks (List)
Resource Groups: 13 actions
  • resource-groups:GetAccountSettings (Read)
  • resource-groups:GetGroup (Read)
  • resource-groups:GetGroupConfiguration (Read)
  • resource-groups:GetGroupPolicy (Read)
  • resource-groups:GetGroupQuery (Read)
  • resource-groups:GetTagSyncTask (Read)
  • resource-groups:GetTags (Read)
  • resource-groups:ListGroupResources (List)
  • resource-groups:ListGroupingStatuses (List)
  • resource-groups:ListGroups (List)
  • resource-groups:ListResourceTypes (List)
  • resource-groups:ListTagSyncTasks (List)
  • resource-groups:SearchResources (List)
Resource Group Tagging: 3 actions
  • tag:GetResources (Read)
  • tag:GetTagKeys (Read)
  • tag:GetTagValues (Read)

Data-plane actions (0)

By access level: none.

This policy grants no actions in this plane.

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: all-resources.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants only List and Read actions.

Guidance

Practical scope

One statement with 9 entries, all on Resource "*": tag:getResources, tag:getTagKeys, tag:getTagValues, resource-groups:Get*, resource-groups:List*, resource-groups:Search*, cloudformation:DescribeStacks, cloudformation:ListStackResources and cloudformation:ListStacks.

Use cases

  • Give users or roles read access to Resource Groups and Tag Editor, to find resources by tag and view groups.

Best practices

  • The AWS Resource Groups User Guide says AWS managed policies might not grant least-privilege permissions for your specific use cases and recommends reducing permissions further with customer managed policies specific to your use cases.

Security considerations

  • It has no tag:TagResources or tag:UntagResources, but it applies to all resources, so principals can find resources across services by tag through tag:getResources.
  • It also reads CloudFormation stack and stack resource information (cloudformation:DescribeStacks, cloudformation:ListStackResources, cloudformation:ListStacks).
  • You cannot change the permissions in an AWS managed policy. If AWS updates the policy, the update affects every user, group and role it is attached to.

Assignment guidance

You can attach this policy to your users, groups and roles. The reference page also links to guidance on creating a permission set using AWS managed policies in IAM Identity Center. It fits where read-only use of Resource Groups and Tag Editor is intended.

Same service

Same domain

Frequently asked questions

When should I attach ResourceGroupsandTagEditorReadOnlyAccess?
The reference page says you can attach ResourceGroupsandTagEditorReadOnlyAccess to your users, groups and roles, and describes it as: provides access to use Resource Groups and Tag Editor, but does not allow editing of tags via the Tag Editor. Attach it where viewing resource groups and tags is the intended scope.
What does ResourceGroupsandTagEditorReadOnlyAccess grant?
It allows tag:getResources, tag:getTagKeys and tag:getTagValues, resource-groups:Get*, List* and Search*, and three read actions on CloudFormation stacks, all on all resources.
What are the security risks of ResourceGroupsandTagEditorReadOnlyAccess?
It does not allow tagging or untagging, but it applies to all resources and the resource-groups wildcards cover every Get, List and Search action. AWS managed policies don't grant least privilege permissions, and you must consider the security risk of granting principals more permissions than they need. AWS updates to the policy affect every identity it is attached to.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "tag:getResources",
        "tag:getTagKeys",
        "tag:getTagValues",
        "resource-groups:Get*",
        "resource-groups:List*",
        "resource-groups:Search*",
        "cloudformation:DescribeStacks",
        "cloudformation:ListStackResources",
        "cloudformation:ListStacks"
      ],
      "Resource": "*"
    }
  ]
}

Version history

Current version v3, edited by AWS on 2023-08-10. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/ResourceGroupsandTagEditorReadOnlyAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/ResourceGroupsandTagEditorReadOnlyAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/ResourceGroupsandTagEditorReadOnlyAccess

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/ResourceGroupsandTagEditorReadOnlyAccess

Terraform

resource "aws_iam_role_policy_attachment" "resourcegroupsandtageditorreadonlyaccess" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/ResourceGroupsandTagEditorReadOnlyAccess"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("ResourceGroupsandTagEditorReadOnlyAccess"),
);

Sources