cdk synth and sam cli

0

I'm using CDK to build my infrastructure. There is a nested gateway stack in the application, i use these two commands to emulate the gateway locally dotenv -e ../.env -- cross-var cdk synth %APP_PREFIX%-gateway -e --no-staging > template.yml and dotenv -e ../.env -- sam local start-api -p 3003 The issue is that the sam command throws an error

Error: Template file not found at infra/gngtestgatewaynestedstack19521E23D.nested.template.json any help please

1 Resposta
0

i have done .net a lot and i just use typescript with cdk and i build out my whole environment using cdk 2+. i would check this out to get going here

profile pictureAWS
respondido há 2 anos

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