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 Antwort
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
beantwortet vor 2 Jahren

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