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 Answer
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
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions