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-

Also We created a Secret Manager and stored a dunmmy value
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 
And then traffic is allowed. And lambda is able to read Secrets from Secrets store.











Comments

Popular posts from this blog

React Component and Props

Getting started with React JS