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개 답변
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
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠