Skip to content

Commit

Permalink
Merge pull request #84 from kddejong/Release/v0.1.2
Browse files Browse the repository at this point in the history
Release v0.2.0
  • Loading branch information
Chuck Meyer committed May 31, 2018
2 parents f3a7515 + 2bfaf1b commit e736b34
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@
- 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.
- More Warnings around hard coded values (Regions, AccountIds) to help with the practice of reusability

### 0.2.0
###### Features
- Standard cfn-lint Errors (E0000) for null, duplicate, and parse errors
- Add a new check for CloudFormation limits
- Add a new check for Parameter, Resource, Output, and Mapping names
- Update specs to those released on May 25th, 2018
- Strong type checking for property values result in Errors (E3012)
###### Fixes
- Transform logic updated to not add a Role if one is specified for a serverless function
- Fixed logic around Fn::If when the result is an object
- Fix conditions when checking property value structure

### 0.1.0
###### Features
- Update CloudFormation specs to include recent releases
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ may need to manually remove the cfn-lint binary.
| --regions | regions | [REGIONS [REGIONS ...]] | Test the template against many regions. [Supported regions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html) |
| --ignore-bad-template | ignore_bad_template | | Ignores bad template errors |
| --append-rules | append_rules | [RULESDIR [RULESDIR ...]] | Specify one or more rules directories using one or more --append-rules arguments. |
| --ignore-checks | ignore_checks | [IGNORE_CHECKS [IGNORE_CHECKS ...]] | Only check rules whose id do not match these values |
| --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` |
| --log-level | log_level | {info, debug} | Log Level |
| --update-specs | | | Update the CloudFormation Specs. You may need sudo to run this. You will need internet access when running this command |
| --override-spec | | filename | Spec-style file containing custom definitions. Can be used to override CloudFormation specifications. More info [here](#customise-specifications) |
Expand Down Expand Up @@ -78,6 +78,7 @@ Errors will start with the letter E. Errors should result in a hard failure of
### Warnings
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.*

### Categories

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

*Warning* <br />
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.

## Customise specifications
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/).

Expand Down
2 changes: 1 addition & 1 deletion src/cfnlint/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
"""

__version__ = '0.1.0'
__version__ = '0.2.0'

0 comments on commit e736b34

Please sign in to comment.