11-07-2022, 05:38 PM
Greetings!
This is my first post on this forum. I'm relatively new to AWS and am setting up an S3 Bucket for a static website and when trying to set an S3 Bucket Policy generated from the policy generator, I am getting an error:
Unknown Error
An unexpected error occurred.
*API Response
Invalid principle in policy
Here is the JSON script I am using from out of the policy generator. Note: I pasted into Notepad and recopied first for formatting purposes:
{
"Id": "Policy1657559771298",
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1657559769311",
"Action": "s3:*",
"Effect": "Allow",
"Resource": "arn:aws
3:::continuous-improvement.org",
"Principal": {
"AWS": [
"admin-w"
]
}
}
]
}
Please let me know if you have any ideas...
This is my first post on this forum. I'm relatively new to AWS and am setting up an S3 Bucket for a static website and when trying to set an S3 Bucket Policy generated from the policy generator, I am getting an error:
Unknown Error
An unexpected error occurred.
*API Response
Invalid principle in policy
Here is the JSON script I am using from out of the policy generator. Note: I pasted into Notepad and recopied first for formatting purposes:
{
"Id": "Policy1657559771298",
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1657559769311",
"Action": "s3:*",
"Effect": "Allow",
"Resource": "arn:aws

"Principal": {
"AWS": [
"admin-w"
]
}
}
]
}
Please let me know if you have any ideas...