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 réponses
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
répondu il y a un an
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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions