former2 icon indicating copy to clipboard operation
former2 copied to clipboard

Serverless output format

Open jvargh opened this issue 4 years ago • 1 comments

Is it possible to get the Serverless output format for selected lambda, api gateway resources?

jvargh avatar Aug 26 '20 17:08 jvargh

Hey @jvargh,

Thanks for raising! I'm going to assume you mean Serverless Application Model (SAM), let me know if you mean the other one 😆.

This is actually a pretty complex challenge, as SAM resources are actually comprised of a number of smaller resources so we'd need to:

  • ensure that all resources are scanned
  • have a way to exclude multiple lower-level resources when in this mode
  • determine the correct behaviour when only part of the required resources are present

The same issue is present for CDK constructs also.

tl;dr I have no immediate plans for this and it would require major rework, but I'll keep the request around to gauge support.

iann0036 avatar Aug 26 '20 23:08 iann0036