Skip to content

cfn-response DeprecationWarning on lambdas created using CF #7

@barkhasjsu

Description

@barkhasjsu

We are using cfn_resource create, update handlers for our lambdas in CF stacks.
Since last week, we are getting DeprecationWarning and seeing connection timeout in logs as lambda is taking more than an hour to stabilize.
Is it because the cfn_resource is using urllib2 or older? whereas the updated library cfnresponse uses urllib3 and AWS is suggesting to update requests libraries to urllib3.
Our code doesn't use cfn-response library which is deprecating in April 2021. We have lambdas as Custom resource in CF stored in s3 buckets and defined custom cfn response functions to send responses.
Also, this issue is intermittent.
Anything we should update in our code if we are using cfn_resource?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions