Skip to content

How do I know if an S3 bucket has been created by the Console or CloudFormation template

0

Hi How do I know if an S3 bucket has been created by the Console or CloudFormation template? In our company we have countless templates so it is hard to check every template.

Many thanks in advance.

2 Answers
1

Take a look at AWS Resource Explorer. You can specify "s3:bucket" as the resource type and query for "tag.key:aws:cloudformation:stack-name".

AWS
EXPERT
answered 3 years ago
0

If you have enabled CloudTrail logging for management events, you can identify who had created the bucket or any other resources from the logs. you can also get some help from the below link to query the cloudtrail logging: https://docs.aws.amazon.com/AmazonS3/latest/userguide/cloudtrail-request-identification.html

AWS
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.