aws-cloudformation / aws-cloudformation/custom-resource-helper

"Connection timed out" when deleting the stack

Open
#41 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.