E3012 Property Type Checks are Too Strict
See original GitHub issuecfn-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:
- Created 5 years ago
- Reactions:10
- Comments:12 (10 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
As of version v0.54.0 the default is to not be strict
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?