Skip to content

Commit

Permalink
Release v0.7.2 (#347)
Browse files Browse the repository at this point in the history
* Release v0.7.2

* Minor enhancements to the CHANGELOG for 0.7.2
  • Loading branch information
kddejong authored and Chuck Meyer committed Sep 13, 2018
1 parent 0deaff4 commit aeebfcd
Show file tree
Hide file tree
Showing 3 changed files with 166 additions and 22 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
- 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.7.2
###### Fixes
- Fix rule [W2501](https://github.com/awslabs/cfn-python-lint/blob/master/docs/rules.md#W2501) to support dashes in KMS Key name
- Fix rule [E2543](https://github.com/awslabs/cfn-python-lint/blob/master/docs/rules.md#E2543) to not fail when the type of a step isn't known
- Fix rule [E2507](https://github.com/awslabs/cfn-python-lint/blob/master/docs/rules.md#E2507) to have an exception for ECR Policies. Resource isn't required.
- Several Python cleanup items around initializing lists, how version is loaded, and dropping 'discover' in testing

### 0.7.1
###### Fixes
- Fix core decoding so the true error of a template parsing issue is visible to the user
Expand Down
179 changes: 158 additions & 21 deletions src/cfnlint/data/CloudSpecs/eu-west-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1204,6 +1204,25 @@
}
}
},
"AWS::EC2::SpotFleet.LaunchTemplateConfig": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-launchtemplateconfig.html",
"Properties": {
"LaunchTemplateSpecification": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-launchtemplateconfig.html#cfn-ec2-spotfleet-launchtemplateconfig-launchtemplatespecification",
"Required": false,
"Type": "FleetLaunchTemplateSpecification",
"UpdateType": "Mutable"
},
"Overrides": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-launchtemplateconfig.html#cfn-ec2-spotfleet-launchtemplateconfig-overrides",
"DuplicatesAllowed": false,
"ItemType": "LaunchTemplateOverrides",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
"AWS::EC2::Instance.ElasticGpuSpecification": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-elasticgpuspecification.html",
"Properties": {
Expand Down Expand Up @@ -2632,6 +2651,29 @@
}
}
},
"AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplatespecification.html",
"Properties": {
"LaunchTemplateId": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplatespecification.html#cfn-autoscaling-autoscalinggroup-launchtemplatespecification-launchtemplateid",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
},
"LaunchTemplateName": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplatespecification.html#cfn-autoscaling-autoscalinggroup-launchtemplatespecification-launchtemplatename",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
},
"Version": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplatespecification.html#cfn-autoscaling-autoscalinggroup-launchtemplatespecification-version",
"PrimitiveType": "String",
"Required": true,
"UpdateType": "Mutable"
}
}
},
"AWS::WAFRegional::IPSet.IPSetDescriptor": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-ipset-ipsetdescriptor.html",
"Properties": {
Expand Down Expand Up @@ -5712,6 +5754,14 @@
"Type": "List",
"UpdateType": "Immutable"
},
"LaunchTemplateConfigs": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata.html#cfn-ec2-spotfleet-spotfleetrequestconfigdata-launchtemplateconfigs",
"DuplicatesAllowed": false,
"ItemType": "LaunchTemplateConfig",
"Required": false,
"Type": "List",
"UpdateType": "Immutable"
},
"ReplaceUnhealthyInstances": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata.html#cfn-ec2-spotfleet-spotfleetrequestconfigdata-replaceunhealthyinstances",
"PrimitiveType": "Boolean",
Expand Down Expand Up @@ -7204,6 +7254,29 @@
}
}
},
"AWS::EC2::SpotFleet.FleetLaunchTemplateSpecification": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-fleetlaunchtemplatespecification.html",
"Properties": {
"LaunchTemplateId": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-fleetlaunchtemplatespecification.html#cfn-ec2-spotfleet-fleetlaunchtemplatespecification-launchtemplateid",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
},
"LaunchTemplateName": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-fleetlaunchtemplatespecification.html#cfn-ec2-spotfleet-fleetlaunchtemplatespecification-launchtemplatename",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
},
"Version": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-fleetlaunchtemplatespecification.html#cfn-ec2-spotfleet-fleetlaunchtemplatespecification-version",
"PrimitiveType": "String",
"Required": true,
"UpdateType": "Mutable"
}
}
},
"AWS::S3::Bucket.RedirectAllRequestsTo": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-redirectallrequeststo.html",
"Properties": {
Expand Down Expand Up @@ -9805,6 +9878,23 @@
}
}
},
"AWS::AmazonMQ::Broker.LogList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-loglist.html",
"Properties": {
"Audit": {
"Required": false,
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-loglist.html#cfn-amazonmq-broker-loglist-audit",
"PrimitiveType": "Boolean",
"UpdateType": "Mutable"
},
"General": {
"Required": false,
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-loglist.html#cfn-amazonmq-broker-loglist-general",
"PrimitiveType": "Boolean",
"UpdateType": "Mutable"
}
}
},
"AWS::CloudTrail::Trail.DataResource": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-dataresource.html",
"Properties": {
Expand Down Expand Up @@ -10226,20 +10316,20 @@
"Subnets": {
"PrimitiveItemType": "String",
"Type": "List",
"Required": true,
"Required": false,
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html#cfn-codebuild-project-vpcconfig-subnets",
"UpdateType": "Mutable"
},
"VpcId": {
"Required": true,
"Required": false,
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html#cfn-codebuild-project-vpcconfig-vpcid",
"PrimitiveType": "String",
"UpdateType": "Mutable"
},
"SecurityGroupIds": {
"PrimitiveItemType": "String",
"Type": "List",
"Required": true,
"Required": false,
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html#cfn-codebuild-project-vpcconfig-securitygroupids",
"UpdateType": "Mutable"
}
Expand Down Expand Up @@ -12130,6 +12220,41 @@
}
}
},
"AWS::EC2::SpotFleet.LaunchTemplateOverrides": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-launchtemplateoverrides.html",
"Properties": {
"AvailabilityZone": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-launchtemplateoverrides.html#cfn-ec2-spotfleet-launchtemplateoverrides-availabilityzone",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
},
"InstanceType": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-launchtemplateoverrides.html#cfn-ec2-spotfleet-launchtemplateoverrides-instancetype",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
},
"SpotPrice": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-launchtemplateoverrides.html#cfn-ec2-spotfleet-launchtemplateoverrides-spotprice",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
},
"SubnetId": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-launchtemplateoverrides.html#cfn-ec2-spotfleet-launchtemplateoverrides-subnetid",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
},
"WeightedCapacity": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-launchtemplateoverrides.html#cfn-ec2-spotfleet-launchtemplateoverrides-weightedcapacity",
"PrimitiveType": "Double",
"Required": false,
"UpdateType": "Mutable"
}
}
},
"AWS::SES::ReceiptRule.S3Action": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html",
"Properties": {
Expand Down Expand Up @@ -14771,24 +14896,12 @@
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-maintenancewindowstarttime",
"UpdateType": "Immutable"
},
"DeploymentMode": {
"Required": true,
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-deploymentmode",
"PrimitiveType": "String",
"UpdateType": "Immutable"
},
"HostInstanceType": {
"Required": true,
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-hostinstancetype",
"PrimitiveType": "String",
"UpdateType": "Immutable"
},
"EngineType": {
"Required": true,
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-enginetype",
"PrimitiveType": "String",
"UpdateType": "Immutable"
},
"AutoMinorVersionUpgrade": {
"Required": true,
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-autominorversionupgrade",
Expand All @@ -14802,11 +14915,11 @@
"ItemType": "User",
"UpdateType": "Mutable"
},
"PubliclyAccessible": {
"Required": true,
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-publiclyaccessible",
"PrimitiveType": "Boolean",
"UpdateType": "Immutable"
"Logs": {
"Type": "LogList",
"Required": false,
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-logs",
"UpdateType": "Mutable"
},
"SubnetIds": {
"PrimitiveItemType": "String",
Expand All @@ -14820,6 +14933,24 @@
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-brokername",
"PrimitiveType": "String",
"UpdateType": "Immutable"
},
"DeploymentMode": {
"Required": true,
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-deploymentmode",
"PrimitiveType": "String",
"UpdateType": "Immutable"
},
"EngineType": {
"Required": true,
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-enginetype",
"PrimitiveType": "String",
"UpdateType": "Immutable"
},
"PubliclyAccessible": {
"Required": true,
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-publiclyaccessible",
"PrimitiveType": "Boolean",
"UpdateType": "Immutable"
}
}
},
Expand Down Expand Up @@ -27201,6 +27332,12 @@
"Required": false,
"UpdateType": "Mutable"
},
"LaunchTemplate": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-launchtemplate",
"Required": false,
"Type": "LaunchTemplateSpecification",
"UpdateType": "Mutable"
},
"LifecycleHookSpecificationList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-autoscaling-autoscalinggroup-lifecyclehookspecificationlist",
"DuplicatesAllowed": true,
Expand Down Expand Up @@ -27813,5 +27950,5 @@
}
}
},
"ResourceSpecificationVersion": "2.6.0"
"ResourceSpecificationVersion": "2.7.0"
}
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.7.1'
__version__ = '0.7.2'

0 comments on commit aeebfcd

Please sign in to comment.