CfCT-Amazon-Macie Deployment Failed with "CloudFormation did not receive a response from your Custom Resource" Error

0

I am getting error while deploying Amazon Macie integration with Control Tower using the https://github.com/AdamDivall/CfCT-Amazon-Macie resource. The error that happens on CustomResourceEnableMacie resource creation is as follows:

"CloudFormation did not receive a response from your Custom Resource. Please check your logs for requestId [d6bc7e35-8ae2-xxxx-yyyy-zzzz002c7323]. If you are using the Python cfn-response module, you may need to update your Lambda function code so that CloudFormation can attach the updated version."

I also noticed that Macie has been fully enabled on all the accounts (about 250 accounts) in the Organization and after a while the CloudFormation Stack fails with the above error and the Macie disabled. Any help?

Thanks!

2 Answers
0
Accepted Answer

This has been fixed. The Lambda memory was increased to 256MB and timeout set to 900 and it worked.

answered 7 months ago
0

Hi, Thanks for reaching out. Could you check the logs of the enable Macie lambda function, it should contain the actual cause of the resource deployment failure and rollback.

Thank you!

AWS
answered 7 months ago
  • @rePost-User-2441783, the Macie lambda function is rolled back after the failure. How do I check the logs?

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