Closed anderseknert closed 2 years ago
I implemented a fix to skip the parsing of AWS references. You can read about it in the blog below.
https://death.andgravity.com/any-yaml
But the script is now failing somewhere else, I think it's having trouble looping through the rest of the files.
WIP
Attempt to send each template file to OPA for testing.
To test, first start OPA:
Then run the script:
Current result:
As seen above, a lot of them fail due to the YAML parser not being able to parse the !Sub or !Ref expressions. Will need to pick up from there, and then address the tests that do parse but print FAIL.
Signed-off-by: Anders Eknert anders@eknert.com