S3 bucket name is not configured while creating stack through CloudFormation template.

0

In my use case we are creating S3 bucket in the user's account through CloudFormation template. The concern is while creating stack in user's account, S3 bucket physical Id is not getting generated but while verifying the CloudWatch logs, the name is getting generated, even S3 bucket is not creating in the user's account & the user account gets onboarded into the database when the S3 bucket is showing in creation progress. Another issue is while deleting the stack, S3 bucket deletion is showing successfully even though the bucket was not created.

Also, I've tried to onboard the account with different AWS accounts & different regions and it's onboarding successfully. Is this a glitch from the AWS side?

1개 답변
0

Hello sp018,

I understand that you are trying to create an S3 bucket using a CloudFormation template but are unable to create it or get its physical id.

Could you please provide the name of the bucket from the CloudWatch logs you mentioned, so we can verify its creation.

The issue could be related to the permissions of the IAM user. Are you getting any "access denied" messages?. If so, make sure the user account has access to the bucket.

Also check if you getting an error related to the bucket name. It could have already been taken. https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html

Resources: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠