aws-sam-cli icon indicating copy to clipboard operation
aws-sam-cli copied to clipboard

Support for JSON

Open glynd opened this issue 9 years ago • 3 comments

Doesn't appear to support JSON yet....

aws-sam-local validate -t sam_build.json 
2017/08/14 11:12:07 PANIC: YAML contains malformed structures
panic: PANIC: YAML contains malformed structures

glynd avatar Aug 14 '17 10:08 glynd

Hi Glyn,

Working on it!

pesama avatar Aug 14 '17 10:08 pesama

We're rewriting some of the library we use for CloudFormation/SAM parsing (github.com/awslabs/goformation). Part of this rewrite will include JSON support.

The dev work is mostly done, in the 0.1.0 branch of goformation, however we've got a bit more work to do before we can start using it in SAM Local. Shouldn't be much longer.

PaulMaddox avatar Aug 18 '17 12:08 PaulMaddox

Fixed in v0.2.0

sanathkr avatar Aug 20 '17 06:08 sanathkr