Skip to main content
IAM Policy Map

ROSAWorkerInstancePolicy

ReaderService roleActivePermissions reviewedShow on mapCompare

Summary

Allows Red Hat OpenShift Service on AWS (ROSA) worker nodes in your account read-only access to Amazon EC2 instances and AWS Regions for compute node lifecycle management.

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/service-role/ROSAWorkerInstancePolicy
Default version
v6
Created
Last edited
Services
ec2, ecr

Control-plane actions (11)

By access level: 4 List, 7 Read.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
EC22 of 8342 List; 0 restricted, 0 conditionalec2:DescribeInstances, ec2:DescribeRegions
Elastic Container Registry9 of 652 List, 7 Read; 8 restricted, 8 conditionalecr:BatchCheckLayerAvailability, ecr:BatchGetImage, ecr:DescribeImages, ecr:DescribeRepositories, ecr:GetAuthorizationToken, ecr:GetDownloadUrlForLayer, ecr:GetRepositoryPolicy, ecr:ListImages, ecr:ListTagsForResource
EC2: 2 actions
  • ec2:DescribeInstances (List)
  • ec2:DescribeRegions (List)
Elastic Container Registry: 9 actions
  • ecr:BatchCheckLayerAvailability (Read)
  • ecr:BatchGetImage (Read)
  • ecr:DescribeImages (List)
  • ecr:DescribeRepositories (Read)
  • ecr:GetAuthorizationToken (Read)
  • ecr:GetDownloadUrlForLayer (Read)
  • ecr:GetRepositoryPolicy (Read)
  • ecr:ListImages (List)
  • ecr:ListTagsForResource (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

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "EC2DescribeInstancesRegions",
      "Effect": "Allow",
      "Action": [
        "ec2:DescribeInstances",
        "ec2:DescribeRegions"
      ],
      "Resource": "*"
    },
    {
      "Sid": "ECRGetAuthorizationToken",
      "Effect": "Allow",
      "Action": [
        "ecr:GetAuthorizationToken"
      ],
      "Resource": "*"
    },
    {
      "Sid": "ECRReadOnlyAccessRedHatManaged",
      "Effect": "Allow",
      "Action": [
        "ecr:BatchCheckLayerAvailability",
        "ecr:GetDownloadUrlForLayer",
        "ecr:GetRepositoryPolicy",
        "ecr:DescribeRepositories",
        "ecr:ListImages",
        "ecr:DescribeImages",
        "ecr:BatchGetImage",
        "ecr:ListTagsForResource"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceTag/red-hat-managed": "true"
        }
      }
    }
  ]
}

Version history

Current version v6, edited by AWS on 2026-02-12. 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/service-role/ROSAWorkerInstancePolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/ROSAWorkerInstancePolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/ROSAWorkerInstancePolicy

CloudFormation

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

Terraform

resource "aws_iam_role_policy_attachment" "service_role_rosaworkerinstancepolicy" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/service-role/ROSAWorkerInstancePolicy"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/ROSAWorkerInstancePolicy"),
);

Sources

Pending editorial review. No editorial sources are listed yet.