You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When validating a source file of type YAML, if yaml anchors are in use then cfn-guard fails to parse the file and errors with Error occurred Parser Error
Thanks for responding, @joshfried-aws ; it would be awesome to include that in the README if possible as I did go looking. I am happy to propose a PR if you would like.
Also note that the error code that is fired back to the user doesn't indicate that.
I'll come up with a possible workaround to strip out the aliases or anchors prior to processing. Thanks! Love the tool BTW 👍
Describe the bug
When validating a source file of type YAML, if yaml anchors are in use then cfn-guard fails to parse the file and errors with
Error occurred Parser Error
To Reproduce
-v
log level if it's not related to cfn-guard-lambda, or the relevant CloudWatch log messages if it is related to the cfn-guard-lambdaExpected behavior
File is parsed correctly and rules triggered if appropraite
Operating System:
MacOS
OS Version
15.0.1 - Sequoia
Additional context
Commenting out the YAML anchor in the source file enables cfn-guard to process the file.
The text was updated successfully, but these errors were encountered: