realestate-com-au / stackup

a simple CLI and Ruby API for AWS CloudFormation
MIT License
97 stars 34 forks source link

Parameters file being parsed as YAML when its JSON #18

Closed pvdvreede closed 8 years ago

pvdvreede commented 8 years ago

Not sure if this is something I have done because this was working the other day, but whenever I try and load a json parameters file with the up subcommand I get a Psych parser error.

Looking at the code is it trying parse it as a yaml file? https://github.com/realestate-com-au/stackup/blob/v0.7.0/bin/stackup#L120 and https://github.com/realestate-com-au/stackup/blob/v0.7.0/bin/stackup#L82.

pvdvreede commented 8 years ago

This was my bad - error in my json params file.