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 個答案
0
已接受的答案

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

已回答 9 個月前
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
已回答 9 個月前
  • @rePost-User-2441783, the Macie lambda function is rolled back after the failure. How do I check the logs?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南