Untitled
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