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 Respuesta
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 hace 2 años

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