You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ may need to manually remove the cfn-lint binary.
35
35
| --regions | regions |[REGIONS [REGIONS ...]]| Test the template against many regions. [Supported regions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html)|
36
36
| --ignore-bad-template | ignore_bad_template || Ignores bad template errors |
37
37
| --append-rules | append_rules |[RULESDIR [RULESDIR ...]]| Specify one or more rules directories using one or more --append-rules arguments. |
38
-
| --ignore-checks | ignore_checks |[IGNORE_CHECKS [IGNORE_CHECKS ...]]| Only check rules whose id do not match these values |
38
+
| --ignore-checks | ignore_checks |[IGNORE_CHECKS [IGNORE_CHECKS ...]]| Only check rules whose ID do not match or prefix these values. Examples: <br />- A value of `W` will disable all warnings<br />- `W2` disables all Warnings for Parameter rules.<br />- `W2001` will disable rule `W2001`|
| --update-specs ||| Update the CloudFormation Specs. You may need sudo to run this. You will need internet access when running this command |
41
41
| --override-spec || filename | Spec-style file containing custom definitions. Can be used to override CloudFormation specifications. More info [here](#customise-specifications)|
@@ -78,6 +78,7 @@ Errors will start with the letter E. Errors should result in a hard failure of
78
78
### Warnings
79
79
Warnings start with the letter W. Warnings alert you when the template doesn't follow best practices but should still function. *Example: If you use a parameter for a RDS master password you should have the parameter property NoEcho set to true.*
80
80
81
+
### Categories
81
82
82
83
| Rule Numbers | Category |
83
84
| --------------- | ------------- |
@@ -91,6 +92,9 @@ Warnings start with the letter W. Warnings alert you when the template doesn't
91
92
| (E|W)8xxx | Conditions |
92
93
| (E|W)9xxx | Reserved for users rules |
93
94
95
+
*Warning* <br />
96
+
Rule `E3012` is used to check the types for value of a resource property. A number is a number, string is a string, etc. There are occasions where this could be just a warning and other times it could be an error. cfn-lint didn't build an exception process so all instances of this issue is considered an error.
97
+
94
98
## Customise specifications
95
99
The linter follows the [CloudFormation specifications](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html) by default. However, for your use case specific requirements might exist. For example, within your organisation it might be mandatory to use [Tagging](https://aws.amazon.com/answers/account-management/aws-tagging-strategies/).
0 commit comments