aws-samples / aws-samples/amazon-aurora-postgresql-fast-failover-demo

Issue when deploying Cloudformation Template.

Open
#2 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
16
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Cloudformation Stack deployment error:
CloudFormation did not receive a response from your Custom Resource. Please check your logs for requestId [7590d9b8-a15f-4aff-b844-e8a07e5fd529]. 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.

Lambda Error (AURORAFAILOVER-CfnExportRetriever error)

Function Logs
START RequestId: 167c0cf9-4d88-4deb-8049-301fc7b2f811 Version: $LATEST
[ERROR] Runtime.ImportModuleError: Unable to import module 'index': cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (/tmp/urllib3/util/ssl_.py)
Traceback (most recent call last):END RequestId: 167c0cf9-4d88-4deb-8049-301fc7b2f811

Screenshot 2023-06-05 at 11 56 14 PM
Screenshot 2023-06-05 at 11 55 35 PM

Contributor guide

Open the contributing guide

Research direction

Start with the CloudFormation template and the Lambda function named AURORAFAILOVER-CfnExportRetriever, then reproduce the deployment and inspect its logs. Investigate the Python import failure involving urllib3.util.ssl_.DEFAULT_CIPHERS and verify that the custom resource returns successfully; done means the stack deploys without the custom-resource timeout.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, postgresql, python
Domain
cloud, databases, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.