Skip to content

Commit

Permalink
Fixing a few issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Feb 11, 2021
1 parent 46ce4d9 commit 776f7fb
Show file tree
Hide file tree
Showing 61 changed files with 50,233 additions and 106,561 deletions.
2 changes: 1 addition & 1 deletion scripts/update_specs_from_pricing.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def main():

outputs = update_outputs('Ec2InstanceType', get_results('AmazonEC2', ['Compute Instance', 'Compute Instance (bare metal)']), outputs)
outputs = update_outputs('AWS::AmazonMQ::Broker.HostInstanceType', get_mq_pricing(), outputs)
outputs = update_outputs('RdsInstanceType', get_rds_pricing(), outputs)
outputs = update_outputs('AWS::RDS::DBInstance.DBInstanceClass', get_rds_pricing(), outputs)
outputs = update_outputs('RedshiftInstanceType', get_results('AmazonRedshift', ['Compute Instance']), outputs)
outputs = update_outputs('DAXInstanceType', get_dax_pricing(), outputs)
outputs = update_outputs('DocumentDBInstanceClass', get_results('AmazonDocDB', ['Database Instance']), outputs)
Expand Down
6,778 changes: 1,088 additions & 5,690 deletions src/cfnlint/data/CloudSpecs/af-south-1.json

Large diffs are not rendered by default.

6,696 changes: 1,593 additions & 5,103 deletions src/cfnlint/data/CloudSpecs/ap-east-1.json

Large diffs are not rendered by default.

5,589 changes: 2,438 additions & 3,151 deletions src/cfnlint/data/CloudSpecs/ap-northeast-1.json

Large diffs are not rendered by default.

5,735 changes: 2,259 additions & 3,476 deletions src/cfnlint/data/CloudSpecs/ap-northeast-2.json

Large diffs are not rendered by default.

9,858 changes: 1,636 additions & 8,222 deletions src/cfnlint/data/CloudSpecs/ap-northeast-3.json

Large diffs are not rendered by default.

5,667 changes: 2,259 additions & 3,408 deletions src/cfnlint/data/CloudSpecs/ap-south-1.json

Large diffs are not rendered by default.

5,528 changes: 2,506 additions & 3,022 deletions src/cfnlint/data/CloudSpecs/ap-southeast-1.json

Large diffs are not rendered by default.

5,346 changes: 3,025 additions & 2,321 deletions src/cfnlint/data/CloudSpecs/ap-southeast-2.json

Large diffs are not rendered by default.

5,824 changes: 2,084 additions & 3,740 deletions src/cfnlint/data/CloudSpecs/ca-central-1.json

Large diffs are not rendered by default.

7,301 changes: 865 additions & 6,436 deletions src/cfnlint/data/CloudSpecs/cn-north-1.json

Large diffs are not rendered by default.

7,355 changes: 870 additions & 6,485 deletions src/cfnlint/data/CloudSpecs/cn-northwest-1.json

Large diffs are not rendered by default.

5,499 changes: 2,526 additions & 2,973 deletions src/cfnlint/data/CloudSpecs/eu-central-1.json

Large diffs are not rendered by default.

5,803 changes: 1,498 additions & 4,305 deletions src/cfnlint/data/CloudSpecs/eu-north-1.json

Large diffs are not rendered by default.

6,816 changes: 1,077 additions & 5,739 deletions src/cfnlint/data/CloudSpecs/eu-south-1.json

Large diffs are not rendered by default.

5,358 changes: 3,165 additions & 2,193 deletions src/cfnlint/data/CloudSpecs/eu-west-1.json

Large diffs are not rendered by default.

5,603 changes: 2,325 additions & 3,278 deletions src/cfnlint/data/CloudSpecs/eu-west-2.json

Large diffs are not rendered by default.

6,723 changes: 2,411 additions & 4,312 deletions src/cfnlint/data/CloudSpecs/eu-west-3.json

Large diffs are not rendered by default.

6,747 changes: 1,545 additions & 5,202 deletions src/cfnlint/data/CloudSpecs/me-south-1.json

Large diffs are not rendered by default.

5,805 changes: 2,205 additions & 3,600 deletions src/cfnlint/data/CloudSpecs/sa-east-1.json

Large diffs are not rendered by default.

5,375 changes: 3,208 additions & 2,167 deletions src/cfnlint/data/CloudSpecs/us-east-1.json

Large diffs are not rendered by default.

5,657 changes: 2,326 additions & 3,331 deletions src/cfnlint/data/CloudSpecs/us-east-2.json

Large diffs are not rendered by default.

7,182 changes: 838 additions & 6,344 deletions src/cfnlint/data/CloudSpecs/us-gov-east-1.json

Large diffs are not rendered by default.

6,987 changes: 1,118 additions & 5,869 deletions src/cfnlint/data/CloudSpecs/us-gov-west-1.json

Large diffs are not rendered by default.

5,737 changes: 2,069 additions & 3,668 deletions src/cfnlint/data/CloudSpecs/us-west-1.json

Large diffs are not rendered by default.

5,321 changes: 3,079 additions & 2,242 deletions src/cfnlint/data/CloudSpecs/us-west-2.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
},
{
"op": "add",
"path": "/ValueTypes/RdsInstanceType/AllowedValues",
"path": "/ValueTypes/AWS::RDS::DBInstance.DBInstanceClass/AllowedValues",
"value": [
"db.m5.12xlarge",
"db.m5.16xlarge",
Expand Down
49 changes: 1 addition & 48 deletions src/cfnlint/data/ExtendedSpecs/all/03_value_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,15 +248,6 @@
"Ec2FleetType": {
"botocore": "ec2/2016-11-15/FleetType"
},
"Ec2FlowLogDestinationType": {
"botocore": "ec2/2016-11-15/LogDestinationType"
},
"Ec2FlowLogResourceType": {
"botocore": "ec2/2016-11-15/FlowLogsResourceType"
},
"Ec2FlowLogTrafficType": {
"botocore": "ec2/2016-11-15/TrafficType"
},
"Ec2HostAutoPlacement": {
"botocore": "ec2/2016-11-15/AutoPlacement"
},
Expand All @@ -270,15 +261,9 @@
"Ec2Tenancy": {
"botocore": "ec2/2016-11-15/Tenancy"
},
"EcsLaunchType": {
"botocore": "ecs/2014-11-13/LaunchType"
},
"EcsNetworkMode": {
"botocore": "ecs/2014-11-13/NetworkMode"
},
"EcsSchedulingStrategy": {
"botocore": "ecs/2014-11-13/SchedulingStrategy"
},
"EcsTaskDefinitionProxyType": {
"botocore": "ecs/2014-11-13/ProxyConfigurationType"
},
Expand Down Expand Up @@ -320,18 +305,7 @@
]
}
},
"KmsKey.Id": {
"GetAtt": {},
"Ref": {
"Parameters": [
"String"
],
"Resources": [
"AWS::KMS::Key"
]
}
},
"KmsKey.IdOrArn": {
"AWS::KMS::Alias.TargetKeyId": {
"GetAtt": {
"AWS::KMS::Key": "Arn"
},
Expand Down Expand Up @@ -482,13 +456,6 @@
"60"
]
},
"RdsInstanceType": {
"Ref": {
"Parameters": [
"String"
]
}
},
"RecordSetFailover": {
"botocore": "route53/2013-04-01/ResourceRecordSetFailover"
},
Expand Down Expand Up @@ -559,12 +526,6 @@
]
}
},
"Route53HealthCheckConfigHealthStatus": {
"botocore": "route53/2013-04-01/InsufficientDataHealthStatus"
},
"Route53HealthCheckConfigType": {
"botocore": "route53/2013-04-01/HealthCheckType"
},
"Route53ResolverEndpointDirection": {
"botocore": "route53resolver/2018-04-01/ResolverEndpointDirection"
},
Expand Down Expand Up @@ -664,14 +625,6 @@
]
}
},
"String": {
"GetAtt": {},
"Ref": {
"Parameters": [
"String"
]
}
},
"SubnetId": {
"GetAtt": {},
"Ref": {
Expand Down
17 changes: 0 additions & 17 deletions src/cfnlint/data/ExtendedSpecs/all/03_value_types/aws_wafv2.json

This file was deleted.

56 changes: 0 additions & 56 deletions src/cfnlint/data/ExtendedSpecs/all/04_property_values.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,20 +237,6 @@
"ValueType": "EbsVolumeType"
}
},
{
"op": "add",
"path": "/PropertyTypes/AWS::Route53::HealthCheck.HealthCheckConfig/Properties/InsufficientDataHealthStatus/Value",
"value": {
"ValueType": "Route53HealthCheckConfigHealthStatus"
}
},
{
"op": "add",
"path": "/PropertyTypes/AWS::Route53::HealthCheck.HealthCheckConfig/Properties/Type/Value",
"value": {
"ValueType": "Route53HealthCheckConfigType"
}
},
{
"op": "add",
"path": "/PropertyTypes/AWS::S3::Bucket.AccelerateConfiguration/Properties/AccelerationStatus/Value",
Expand Down Expand Up @@ -682,27 +668,6 @@
"ValueType": "Ec2FleetType"
}
},
{
"op": "add",
"path": "/ResourceTypes/AWS::EC2::FlowLog/Properties/LogDestinationType/Value",
"value": {
"ValueType": "Ec2FlowLogDestinationType"
}
},
{
"op": "add",
"path": "/ResourceTypes/AWS::EC2::FlowLog/Properties/ResourceType/Value",
"value": {
"ValueType": "Ec2FlowLogResourceType"
}
},
{
"op": "add",
"path": "/ResourceTypes/AWS::EC2::FlowLog/Properties/TrafficType/Value",
"value": {
"ValueType": "Ec2FlowLogTrafficType"
}
},
{
"op": "add",
"path": "/ResourceTypes/AWS::EC2::Host/Properties/AvailabilityZone/Value",
Expand Down Expand Up @@ -808,20 +773,6 @@
"ValueType": "PlacementTenancy"
}
},
{
"op": "add",
"path": "/ResourceTypes/AWS::ECS::Service/Properties/LaunchType/Value",
"value": {
"ValueType": "EcsLaunchType"
}
},
{
"op": "add",
"path": "/ResourceTypes/AWS::ECS::Service/Properties/SchedulingStrategy/Value",
"value": {
"ValueType": "EcsSchedulingStrategy"
}
},
{
"op": "add",
"path": "/ResourceTypes/AWS::ECS::TaskDefinition/Properties/NetworkMode/Value",
Expand Down Expand Up @@ -923,13 +874,6 @@
"ValueType": "TargetGroupHealthyThresholdCount"
}
},
{
"op": "add",
"path": "/ResourceTypes/AWS::KMS::Alias/Properties/TargetKeyId/Value",
"value": {
"ValueType": "KmsKey.IdOrArn"
}
},
{
"op": "add",
"path": "/ResourceTypes/AWS::Lambda::Function/Properties/Runtime/Value",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,12 @@
"value": {
"ValueType": "AWS::Lambda::EventSourceMapping.EventSourceArn"
}
},
{
"op": "add",
"path": "/ResourceTypes/AWS::Lambda::EventSourceMapping/Properties/MaximumBatchingWindowInSeconds/Value",
"value": {
"ValueType": "AWS::Lambda::EventSourceMapping.MaximumBatchingWindowInSeconds"
}
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@
"ValueType": "AWS::RDS::DBInstance.PromotionTier"
}
},
{
"op": "add",
"path": "/ResourceTypes/AWS::RDS::DBInstance/Properties/DBInstanceClass/Value",
"value": {
"ValueType": "AWS::RDS::DBInstance.DBInstanceClass"
}
},
{
"op": "add",
"path": "/PropertyTypes/AWS::RDS::DBSecurityGroup.Ingress/Properties/CIDRIP/Value",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,10 @@
"value": [
"stream.standard.large"
]
},
{
"op": "add",
"path": "/ValueTypes/AWS::RDS::DBInstance.DBInstanceClass",
"value": {}
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
},
{
"op": "add",
"path": "/ValueTypes/RdsInstanceType/AllowedValues",
"path": "/ValueTypes/AWS::RDS::DBInstance.DBInstanceClass/AllowedValues",
"value": [
"db.m5.12xlarge",
"db.m5.16xlarge",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@
},
{
"op": "add",
"path": "/ValueTypes/RdsInstanceType/AllowedValues",
"path": "/ValueTypes/AWS::RDS::DBInstance.DBInstanceClass/AllowedValues",
"value": [
"db.m1.large",
"db.m1.medium",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
},
{
"op": "add",
"path": "/ValueTypes/RdsInstanceType/AllowedValues",
"path": "/ValueTypes/AWS::RDS::DBInstance.DBInstanceClass/AllowedValues",
"value": [
"db.m4.10xlarge",
"db.m4.16xlarge",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
},
{
"op": "add",
"path": "/ValueTypes/RdsInstanceType/AllowedValues",
"path": "/ValueTypes/AWS::RDS::DBInstance.DBInstanceClass/AllowedValues",
"value": [
"db.m4.10xlarge",
"db.m4.16xlarge",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
},
{
"op": "add",
"path": "/ValueTypes/RdsInstanceType/AllowedValues",
"path": "/ValueTypes/AWS::RDS::DBInstance.DBInstanceClass/AllowedValues",
"value": [
"db.m4.10xlarge",
"db.m4.16xlarge",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@
},
{
"op": "add",
"path": "/ValueTypes/RdsInstanceType/AllowedValues",
"path": "/ValueTypes/AWS::RDS::DBInstance.DBInstanceClass/AllowedValues",
"value": [
"db.m1.large",
"db.m1.medium",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@
},
{
"op": "add",
"path": "/ValueTypes/RdsInstanceType/AllowedValues",
"path": "/ValueTypes/AWS::RDS::DBInstance.DBInstanceClass/AllowedValues",
"value": [
"db.m1.large",
"db.m1.medium",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@
},
{
"op": "add",
"path": "/ValueTypes/RdsInstanceType/AllowedValues",
"path": "/ValueTypes/AWS::RDS::DBInstance.DBInstanceClass/AllowedValues",
"value": [
"db.m4.10xlarge",
"db.m4.16xlarge",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
},
{
"op": "add",
"path": "/ValueTypes/RdsInstanceType/AllowedValues",
"path": "/ValueTypes/AWS::RDS::DBInstance.DBInstanceClass/AllowedValues",
"value": [
"db.m1.small",
"db.m3.2xlarge",
Expand Down
Loading

0 comments on commit 776f7fb

Please sign in to comment.