Error while accessing secrets manager from boto3

0

Error encountered : Connect timeout on endpoint URL: "https://secretsmanager.us-east-2.amazonaws.com/

this only occurs for us-east-2

2 Answers
2

Please send more context from where you are trying to access this endpoint.

But if you are trying to do it from a Lambda function, please make sure the VPC this lambda function is deployed has internet connectivity. As you are trying to access it over the public internet you must see it as well. If you want private connectivity to the service, then you need to provision a VPC interface endpoint for the service and deploy it in the same VPC as your lambda

AWS
answered 10 months ago
0

Hi, review this article as it should address your issue: https://repost.aws/knowledge-center/lambda-secret-vpc

If this helped you, I d appreciate answer to be accepted so that communì an benefit for clarity, thanks ;)

profile picture
EXPERT
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions