Untitled

 avatar
master007
plain_text
a month ago
353 B
3
Indexable
resource "aws_iam_role_policy_attachment" "ecr_read" {
  role       = aws_iam_role.beanstalk.name
  policy_arn = "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly"
}

resource "aws_iam_role_policy_attachment" "s3_read" {
  role       = aws_iam_role.beanstalk.name
  policy_arn = "arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess"
}

# Optional: 
Leave a Comment