Lambda observing timeout
AWS Lambda Observing timeout with Secret Manager
Overview
There is some issue with a lambda which is inside the private subnets. and lambda is using secrets manager. Its timing out. Upon spending big chunk of my time i came to one conclusion. Lambda needs access to Secrets manager service.
Lambda Configuration
Lambda was created inside Private subnet, below is configuration-
Also the code for the lambda is nothing but just read the secrets from AWS SecretsManager-
But When we execute the lambda it TimeOut after 15 Seconds which is default timeout of lambda.
So We created a Endpoint which allows all trafic from the SG of Lambda
.png)
Comments
Post a Comment