I currently wrap may serverless application stack in a CDK pipeline as described in the docs which a cdk.Stage to bundle stacks. After running cdk synth I get a Pipeline.template.json which is similar to the following:
Now when I try to debug lambda functions of the AppStack which was defined in the cdk.Stage the SAM CLI fails. I guess the reference to the appStage asset cannot be resolved.
Proposal
Support debugging lambda functions which were defined in a stack in a cdk.Stage.
Thanks for the feature request! We have a roadmap here, but we also try to take in popular feature requests based on 👍🏽 from the community. We will be adding this to our intake for prioritization.
Describe your idea/feature/enhancement
I currently wrap may serverless application stack in a CDK pipeline as described in the docs which a
cdk.Stage
to bundle stacks. After runningcdk synth
I get aPipeline.template.json
which is similar to the following:Now when I try to debug lambda functions of the
AppStack
which was defined in thecdk.Stage
the SAM CLI fails. I guess the reference to the appStage asset cannot be resolved.Proposal
Support debugging lambda functions which were defined in a stack in a
cdk.Stage
.Things to consider:
Additional Details