(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 hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas