Skip to content

Commit e736b34

Browse files
author
Chuck Meyer
authored
Merge pull request #84 from kddejong/Release/v0.1.2
Release v0.2.0
2 parents f3a7515 + 2bfaf1b commit e736b34

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@
99
- Test Ref resources to IAM Roles have good assume role documents. Example: Lambda Function Ref refers to an IAM Role that can be assume by Lambda.
1010
- More Warnings around hard coded values (Regions, AccountIds) to help with the practice of reusability
1111

12+
### 0.2.0
13+
###### Features
14+
- Standard cfn-lint Errors (E0000) for null, duplicate, and parse errors
15+
- Add a new check for CloudFormation limits
16+
- Add a new check for Parameter, Resource, Output, and Mapping names
17+
- Update specs to those released on May 25th, 2018
18+
- Strong type checking for property values result in Errors (E3012)
19+
###### Fixes
20+
- Transform logic updated to not add a Role if one is specified for a serverless function
21+
- Fixed logic around Fn::If when the result is an object
22+
- Fix conditions when checking property value structure
23+
1224
### 0.1.0
1325
###### Features
1426
- Update CloudFormation specs to include recent releases

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ may need to manually remove the cfn-lint binary.
3535
| --regions | regions | [REGIONS [REGIONS ...]] | Test the template against many regions. [Supported regions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html) |
3636
| --ignore-bad-template | ignore_bad_template | | Ignores bad template errors |
3737
| --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` |
3939
| --log-level | log_level | {info, debug} | Log Level |
4040
| --update-specs | | | Update the CloudFormation Specs. You may need sudo to run this. You will need internet access when running this command |
4141
| --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
7878
### Warnings
7979
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.*
8080

81+
### Categories
8182

8283
| Rule Numbers | Category |
8384
| --------------- | ------------- |
@@ -91,6 +92,9 @@ Warnings start with the letter W. Warnings alert you when the template doesn't
9192
| (E&#124;W)8xxx | Conditions |
9293
| (E&#124;W)9xxx | Reserved for users rules |
9394

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+
9498
## Customise specifications
9599
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/).
96100

src/cfnlint/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1616
"""
1717

18-
__version__ = '0.1.0'
18+
__version__ = '0.2.0'

0 commit comments

Comments
 (0)