Starting on December 01, 2021, AWS Lambda will no longer support the
botocore.requests library in Python runtimes . If you are using the
cfn-response module for a Lambda-backed custom resource, you must modify your Lambda function resource’s code or runtime property and update your stack(s) in order to get the latest version of the
cfn-response module which removed its dependency on
If you do not update your Lambda function by December 01, 2021, you will no longer be able to create, update or delete your custom resource. If you are updating the Runtime property, please include the
lambda:UpdateFunctionCode action in your IAM policy.
If you are hosting your Lambda function code from an S3 bucket, you can refer to the updated
cfn-response module’s source code in the AWS documentation here . For more information on how to update the AWS CloudFormation
cfn-response module, see the AWS knowledge center article here .
Please contact AWS Support if you have any questions or concerns .