AWS Systems Manager: Demonstrate Your Skills
Hi. I'm trying to complete the final lab in the AWS Systems Manager: Demonstrate your skills lab.
I'm trying to create an IAM policy as requested, but it isn't being accepted.
Here is the question:
And here is my policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:GetObjectVersion"
],
"Resource": [
"arn:aws:s3:::arn:aws:s3:::aws-ssm-eu-west-1/*",
"arn:aws:s3:::arn:aws:s3:::amazon-ssm-eu-west-1/*",
"arn:aws:s3:::arn:aws:s3:::amazon-ssm-packages-eu-west-1/*",
"arn:aws:s3:::arn:aws:s3:::aws-ssm-document-attachments-eu-west-1/*",
"arn:aws:s3:::arn:aws:s3:::patch-baseline-snapshot-eu-west-1/*",
"arn:aws:s3:::arn:aws:s3:::aws-quicksetup-patchpolicy-*/*",
"arn:aws:s3:::arn:aws:s3:::metroliate-1c81a515/*"
]
},
{
"Sid": "VisualEditor1",
"Effect": "Allow",
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::arn:aws:s3:::metrolio-ssm-logs-74c21f24/*"
},
{
"Sid": "VisualEditor2",
"Effect": "Allow",
"Action": "s3:GetEncryptionConfiguration",
"Resource": "arn:aws:s3:::arn:aws:s3:::metrolio-ssm-logs-74c21f24"
}
]
}
Any help on what I'm doing wrong would be much appreciated.