question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

E3012 Property Type Checks are Too Strict

See original GitHub issue

cfn-lint version: 0.9.2

There are many properties that demand a “String” type when they are integer in nature. Here are examples:

  • AWS::AutoScaling::AutoScalingGroup/Properties/DesiredCapacity
  • AWS::AutoScaling::AutoScalingGroup/Properties/MaxSize
  • AWS::AutoScaling::AutoScalingGroup/Properties/MinSize
  • AWS::Route53::RecordSet/Properties/TTL

This list is actually pretty huge, which is why I haven’t wanted to create an override spec. Since these are all accepted as numbers by CloudFormation, we should be able to treat that as such.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:10
  • Comments:12 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
kddejongcommented, Sep 7, 2021

As of version v0.54.0 the default is to not be strict

1reaction
kddejongcommented, Jan 7, 2021

I’m going to pick this one back up. @PatMyron do you believe we should change the default of this rule to not be strict?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Controlling Type Checking Strictness in TypeScript
In this post, we will explore the compiler options that control the strictness of the type checking in TypeScript.
Read more >
Property Types and Abandonment Periods - Texas Comptroller
List of NAUP codes, property types and abandonment peripds. ... Any other outstanding official checks or exchange items, CK15, 3 years.
Read more >
Is it possible to define an interface/type to which excess ...
Is it possible to define an interface/type to which excess property checks are always applied? · I am very surprised that extracting the...
Read more >
Frequently Asked Questions About Unclaimed Property
All services are provided free of charge by the Missouri State Treasurer. How do I check for Unclaimed Property in other states? All...
Read more >
introduction to unclaimed property - U.S. Department of Labor
It will be a challenge to create clear guidance for a specific type of property (e.g. uncashed checks from ERISA plans), but it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found