YAML-PP-p5
YAML-PP-p5 copied to clipboard
Getting a "Bad indendation in FLOWMAP" error
Hi,
I found this piece of CloudFormation that YAML::PP 0.026 doesn't parse, although Cloudformation considers it valid YAML:
Resources:
Resource1:
Properties:
Item: {
'accountId': { 'N': '15' },
'username': { 'S': 'user' }
}
Resource2:
Type: "XXX"
You get the following error:
Line : 7
Column : 7
Message : Bad indendation in FLOWMAP
Where : local/lib/perl5/YAML/PP/Parser.pm line 197
YAML : "}"
at local/lib/perl5/YAML/PP/Loader.pm line 94.
bug? not implemented yet? Or is there any parser / schema option that I'm not aware of?