I want to create a S3 Bucket via CloudFormation template. I found there is a way to do it for EC2 instance on this link.

Do we have a way to create S3 bucket using existing IAM role via cloudformation?


Yes, you can create an S3 bucket via CloudFormation Template. Make sure your role has the proper permissions to perform this action.

See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html for examples

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.