aws-cloudformation / aws-cloudformation/custom-resource-helper
"Connection timed out" when deleting the stack
- Dominant language
- Python
- Stars
- 383
- Forks
- 61
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I use CDK and custom resource to create a database schema based on a python 3.8 lambda.
I am able to create the stack. I am having issues when I delete the stack.
When I delete the stack, it gets stuck on deleting the custom resource.
In Cloud Watch, I am getting the following error:
Unexpected failure sending response to CloudFormation [Errno 110] Connection timed out
When I run the same curl command manually from my linux machine, I am able to delete it.
Any hints?
Kind Regards,
Nicola
Contributor guide
Research direction
Start with the Python 3.8 custom resource's delete path and the CloudWatch error, then compare its response request with the curl command that succeeds from a Linux machine. Investigate why the CloudFormation response times out during stack deletion; done means the custom resource can delete the stack without the connection timeout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100