aws-solutions / content-analysis-on-aws

As of August 30, 2023, this AWS Solution is no longer available. Existing deployments will continue to run. The functionality provided by Content Analysis on AWS will be superseded with functionality in Media2Cloud on AWS and Content Localization on AWS. We encourage you to explore these solutions.
https://aws.amazon.com/solutions/implementations/aws-content-analysis/
Apache License 2.0
96 stars 47 forks source link

Stack creation fails with "API: s3:SetBucketEncryption Access Denied" error #53

Closed jayrao closed 2 years ago

jayrao commented 2 years ago

Describe the bug While launching this template, the nested stack "MieStack" fails with following error.

"API: s3:SetBucketEncryption Access Denied" for the resource Logical ID "DataplaneLogsBucket"

To Reproduce Just launch the stack in either regions and it throws the error. As stack gets rolled back and resources deleted, I cannot proceed further.

Expected behavior Stack should launch without any error.

Please complete the following information about the solution: (SO0163) - aws-media-insights-engine v3.0.2 for the nested stack (SO0042) - aws-content-analysis v2.0.0 for the root stack

ianwow commented 2 years ago

@jayrao Check to make sure you have admin access to the AWS account that you're using for this stack.

Also check to see if you can create a new S3 bucket, with server side encryption enabled, from the AWS web console.

jayrao commented 2 years ago

Thanks. It was an Organization SCP blocking permission to enable SSE on buckets.