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

Sem respostas

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas