(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?

Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen