aws-samples / aws-security-reference-architecture-examples

Example solutions demonstrating how to implement patterns within the AWS Security Reference Architecture guide using CloudFormation (including Customizations for AWS Control Tower) and Terraform.
Other
977 stars 245 forks source link

Getting CloudFormation did not receive a response from your Custom Resource #162

Closed AshutoshAM2002 closed 11 months ago

AshutoshAM2002 commented 1 year ago

Getting error 'CloudFormation did not receive a response from your Custom Resource'

I'm using Control Tower to create an IAM Access analyzer for multiple account. For the same, I'm building a CloudFormation Stack. But I getting the following error in CloudFromation stack.

CloudFormation did not receive a response from your Custom Resource. 
Please check your logs for requestId [<request_id>]. 
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.

Expected behavior

Complete creation of the CloudFormation Stack and creation of Access Analyzer in each account are required.

Screenshots

CloudFormation Events:

image

CloudWatch Logs:

image