'AWS S3 Bucket Policy Network Failure - verify permissions to access-analyzer:ValidatePolicy in IAM to use policy validation
In AWS Solution Architect I am performing Module 3 Challenge Lab Creating a Static Website for the Cafe using AWS S3.
I want to Grant read-only permission to anonymous user I followed documentation and pasted the required JSON code in my bucket policy
my Bucket Policy :
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicRead",
"Effect": "Allow",
"Principal": "*",
"Action": [
"s3:GetObject",
"s3:GetObjectVersion"
],
"Resource": [
"arn:aws:s3:::website-22-4-28-main/*"
]
}
]
}
I am getting the following error message for the above bucket policy
I would like to know how can I resolve this error. TIA
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|