Closed scottschreckengaust closed 2 years ago
Hi @scottschreckengaust,
Thank you for your post. We noticed that your cfn-guard version is at 2.0.4 and parameterized rules is supported in 2.1.0. Can you please try rebuilding with 2.1 and see if it resolves your issue?
Thanks!
@scottschreckengaust Please also note that due to some dependencies, installing from cargo is not currently at 2.1. We recommend building locally as mentioned at the top of the README.
Okay, please close the issue. Updating the installation to below yields no parsing errors:
$ git clone https://github.com/aws-cloudformation/cloudformation-guard.git
$ docker run --rm -it -v `pwd`:`pwd` -w `pwd` rust
# cat cloudformation-guard/install-guard.sh | sh
# export PATH=${PATH}:~/.guard/bin
# cfn-guard --version
cfn-guard 2.1.0
Great! Thanks @scottschreckengaust
Describe the issue The guard example, https://github.com/aws-cloudformation/cloudformation-guard/blob/main/guard-examples/cross-account/sns-cross-account-t-parameterized.guard, is not useable as-is.
Any examples Please supply:
sns-cross-account-t-parameterized.guard
below.The output of a
-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-lambdaNOTE: Please be sure that the templates, rules and logs you provide as part of your issue do not contain any sensitive information.
Operating System: [eg, MacOS, Windows, Ubuntu, etc] MacOS using Docker pulling rust:latest and installing via cargo
OS Version [eg Catalina, 10, 18.04, etc] Mojave 12.6 Docker version 20.10.17, build 100c701
Additional context