Skip to content

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

Description

@rasathus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions