Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CloudFormation Lambda S3 Error #188

Open
4claps opened this issue Feb 23, 2024 · 1 comment
Open

CloudFormation Lambda S3 Error #188

4claps opened this issue Feb 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@4claps
Copy link

4claps commented Feb 23, 2024

Describe the bug
Resource handler returned message: "Error occurred while GetObject. S3 Error Code: NoSuchBucket. S3 Error Message: The specified bucket does not exist (Service: Lambda, Status Code: 400, Request ID: d5091597-a0ff-4160-8c4a-551414fb91cc)" (RequestToken: 833066cd-d1f7-a380-c414-6578f32d62c5, HandlerErrorCode: InvalidRequest)

To Reproduce
It appears that when the "custom-control-tower-initiation.template" is creating a bucket with random letters in the back, but the lambda function is looking for ${AWS::Region}.

I originally assumed that the script did not give enough time for the S3 bucket to build. but every time you run the script it names it cfctest(Stack Name)-customcontroltowercloudtraildataeventbucke(Bucket Name from Template)-ebvht6sthyzz(Random Characters) so ever if I delete the stack and run it again, the characters at the end change so it get the same error. Please advise on how to move forward.

@4claps 4claps added the bug Something isn't working label Feb 23, 2024
@snebhu3
Copy link

snebhu3 commented Feb 26, 2024

@4claps thanks for reaching out.
Please may you provide more details for the error?

  • CFCT version
  • Region
  • Are you seeing this during deployment of CFCT itself? Or are you seeing it while CFCT is executing a customization?
  • Can you provide step by step details of how we can try to reproduce the same error on our side?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants