aws-samples / aws-samples/cloudfront-authorization-at-edge
Unable to Create Custom Resources via SAM CLI
- Dominant language
- TypeScript
- Stars
- 534
- Forks
- 165
- PR merge metrics
- No merged PRs in 30d
Description
I tried to manually deploy the solution via SAM CLI so i can make some tweaks to the lambda. I have not made any changes yet, just added a parameter for env. to concatenate with the lamdba names. I was getting a bunch of these errors for all the custom resources in the template.yaml file:
`CloudFormation did not receive a response from your Custom Resource. Please check your logs for requestId [c87e5bf0-5728-43bb-a35a-d401898a6673]. 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.`
Contributor guide
Research direction
Reproduce the manual SAM CLI deployment using template.yaml and inspect the logs for the custom resources and request ID shown in the report. Compare the deployment parameters and custom-resource responses, including the referenced cfn-response behavior; done means every custom resource responds and the deployment completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- cli, cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100