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

没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则