awslabs / aws-api-gateway-developer-portal

A Serverless Developer Portal for easily publishing and cataloging APIs
Apache License 2.0
924 stars 399 forks source link

. 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. #629

Closed GPRepo closed 11 months ago

GPRepo commented 11 months ago

The below error is getting after upgrading node12.x to node18.x

The following resource(s) failed to create: [CloudFrontSecurityHeadersSetup]. Rollback requested by user.

2023-08-04 18:24:57 UTC+0530 | CloudFrontSecurityHeadersSetup | CREATE_FAILED | CloudFormation did not receive a response from your Custom Resource. Peck yolease check your logs for requestId [a]. 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.

GPRepo commented 11 months ago

SAM CLI deployment is working fine.