(CDK)lambda function already has a lambda layer include the 3rd party dependency but still say cannot find moudle

0

Hi When I test my lambda function it show the below error Enter image description here

The lambda layer included axios is already there Enter image description here

Enter image description here

This is my folder strcuture Enter image description here

Inisde the axios.ts file I have this code Enter image description here

This is my lambda code, that is how I import the axios Enter image description here

My tsconfig json Enter image description here

my lambda stack and my pipeline stack Enter image description here Enter image description here

Could anyone please help me out?

No Answers

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