Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudwatch alarm threshold non-compliant with linter after formatting #25

Open
rasathus opened this issue Sep 1, 2021 · 0 comments
Open

Comments

@rasathus
Copy link

rasathus commented Sep 1, 2021

I've run into an issue whereby the template I was testing fails the linter after cfn-format has been run against it ...

> cfn-lint alarm-test.template
> cfn-format -w alarm-test.template 
> cfn-lint alarm-test.template
E3012 Property Resources/SESComplaintRateAlarm/Properties/Threshold should be of type Double
alarm-test.template:13:7

Prior to formatting the threshold value looks like this ... Threshold: 0.001 with the re-formatted output changed to this ... Threshold: "0.001"

I've provided an example template here ...
https://gist.github.com/rasathus/c3ea8c5f2903f2c04a5435b000d42498

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant