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

Nafiu
asked 8 months ago981 views
2 Answers
1
Accepted Answer

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

profile pictureAWS
EXPERT
kentrad
answered 8 months 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.

profile pictureAWS
EXPERT
David
answered 8 months 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.

Guidelines for Answering Questions

Relevant content