Skip to content

Failed to check if S3 Bucket Policy already exists due to lack of describe permission, you might be overriding or adopting an existing policy on this Bucket

0

Please how do i solve this in cloudformation

Failed to check if S3 Bucket Policy already exists due to lack of describe permission, you might be overriding or adopting an existing policy on this Bucket

2 Answers
1
Accepted Answer

You may need to allow s3:GetBucketPolicy on the bucket for the principle used in CloudFormation operations.

AWS
EXPERT
answered 3 years ago
1

Importing existing resources into a stack https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-existing-stack.html

Otherwise I'm not sure if CF can natively decide what already exists.

AWS
EXPERT
answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.