Skip to content

Commit

Permalink
Bring in testing for cfnLint keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Feb 6, 2024
1 parent 1bfea0a commit 749b463
Show file tree
Hide file tree
Showing 725 changed files with 85,857 additions and 20,178 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"7c5bff142ade1abed71d4ffc14925d81\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"5dd91092d77ad1ba978be8ddc6ee43c5\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"e0220f2f7caf826803581ba9b2df740f\"", "url": "https://schema.cloudformation.cn-north-1.amazonaws.com.cn/CloudformationSchema.zip"}
{"etag": "\"e908f2c13e76a287b9b0136a0f5027c9\"", "url": "https://schema.cloudformation.cn-north-1.amazonaws.com.cn/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"ef5722551fb90dac0d4eaa0a75444457\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"d74711fca569f22c6c2fe493fe9212ea\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"013ff076ad7b8bb463e3c257ee680e21\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"6e1f33f073f1be99d09a6c449c7e31ba\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"6134c384983d6a36f0e197f9eb2374dc\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"0188c4567f631bb42f913d3aab2a4e7b\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"a26d20c906cb9ab1649b974dd3a47504\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"0d4d5bf4c005160987839707c3ac0fb4\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"04cc42c4460748986e4396d97315ee18\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"b31c4b269c8351f2f0a40fbb8f9d3a50\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"11caf87bc067791546c60f1d91f680eb\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"}
{"etag": "\"a1dea18064a7504815bbed8fdc94bd4f\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"4dee61d626fb43e40aa942de1dbe9bc0\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"ef4efb00c52ebbb99383735d168f97ee\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"9452742c8c25e4e7f32b72dbed4ddf41\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"e2b2b4cda915413062e2f80cb409b19d\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"9c2174c9733f4d5aa7aab94464b90c39\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"ce8bd0c5c05ebe78807f1440406f369d\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"ca7441a7185a90c944754440f33ccfce\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"ec5439eda74283b3c88edf2d2fe92f86\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"1a4652326988feef421a291f20cb8d08\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"b3c46ad6c45cc949fffd576d56e11914\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"4e6c4f4af17b9d40d2f8e86d332ea40e\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"7fe95bec5664b00b8ab33c3c9cbba9e2\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"79d41a309ab1843b23c0ff8b7d8b43a1\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"bd58f240dbb529048d5c724a99ac68be\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"9f01961885b1d50f0b97f2b8e56b0a4d\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"b64f955e3136a7bb16e0767d841907c8\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"9c85811bdf74b3162cbd4033ff7f3797\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"1ffd1b7ef34f1089bb4b46874e5c695b\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"402f55e4ee6d8701142607d1644ad96f\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"65f6bf5dd1e0551fa5cdb2df58330af8\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"a4f0f4dfcdb7288e6c7b702723c1bff9\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"d6be891b687059fa9f1378ab3fa2e9a3\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"449cbc73c13039a8ba3ac1e6b2777da8\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"697aa7ac7cdf0b6a85ec10700ea0eda2\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"4afa046a10ef6d90a6c72ce65d28eb5c\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"d4ad2f77217b71e3d733ad1ea8980d3f\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"739eb0f3b5acf6d6f0a9466dc9ce031c\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"4f20df51817099e1e5121eabd83f6b53\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"ea4a1343310a641439108f772ed8023e\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"4a17ca01c22687790e6ab493a1fa40fb\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"7e5faa1d7044db74d98e15d7ad6d09bf\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"c5b7c7e9a43216f4bc4a5a33a62f316e\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"9e95946539c7fdc31b21b29343a2828c\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"3261249e455594e4544856414ee77494\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"b31a1b0158eee07e01cfd84ca9ec48c2\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"1a18c7fa888dc37813c01356c2aee1b2\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"a832736e94aa4f502076450abd6db7bf\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"44e3e84d086db615a89cdcb4e44c2b27\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"7ebd6bffa4d514e94f81625b4a0ff003\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"d2ac495604134148b0d323369eb064c8\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"b70b206292604006da2281e9eee5aec9\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"1424b1d242bf5e390625d14b78eb28b7\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"d83706535f6443c80fc54b90710f8559\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"c136292d834ec8f8cc5bec5132acfff3\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"188108874d53b84a88f7a14e9153ddc5\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"6dd4ea73d4945e376fc98257ead80d39\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"ed8a547d19682d1ff75f2d4f56820d1b\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"f37dd33118d18fe992e1d83d6b41e554\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,24 @@
"Namespace": {
"pattern": "^AWS/.*$",
"type": "string"
}
}
},
"then": {
"properties": {
},
"Period": {
"minimum": 60,
"type": [
"number",
"string"
]
}
}
},
"required": [
"Namespace"
],
"type": "object"
},
"type": "object"
"then": {
"properties": {
"Period": {
"minimum": 60
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@
"else": {},
"if": {
"properties": {
"PAY_PER_REQUEST": {
"BillingMode": {
"const": "PAY_PER_REQUEST"
}
}
},
"required": [
"BillingMode"
],
"type": "object"
},
"then": {
"not": {
"properties": {
"ProvisionedThroughput": {
"type": [
"string",
"object"
]
}
"ProvisionedThroughput": true
},
"required": "ProvisionedThroughput"
"required": [
"ProvisionedThroughput"
]
}
},
"type": "object"
}
}
10 changes: 6 additions & 4 deletions src/cfnlint/data/schemas/extensions/aws_ecs_service/fargate.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,20 @@
"FARGATE",
"EXTERNAL"
]
},
"SchedulingStrategy": {
"type": "string"
}
},
"required": [
"LaunchType"
]
],
"type": "object"
},
"then": {
"properties": {
"SchedulingStrategy": {
"enum": [
"REPLICA"
]
"const": "REPLICA"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@
"contains": {
"properties": {
"Essential": {
"enum": [
true,
"true",
"True"
],
"type": "boolean"
"oneOf": [
{
"enum": [
true,
"true",
"True"
]
},
{
"type": "object"
}
]
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"LogDriver": {
"const": "awslogs"
}
}
},
"required": [
"LogDriver"
],
"type": "object"
},
"then": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,16 @@
"EventSourceArn": {
"pattern": "^arn:(aws[a-zA-Z0-9-]*):sqs:([a-z]{2}(-gov)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)$",
"type": "string"
},
"required": [
"EventSourceArn"
]
}
},
"then": {
"if": {
"not": {
"properties": {
"EventSourceArn": {
"type": "object"
}
}
}
},
"then": {
"not": {
"properties": {
"StartingPosition": {}
},
"required": [
"StartingPosition"
]
}
}
"required": [
"EventSourceArn"
],
"type": "object"
},
"type": "object"
"then": {
"properties": {
"StartingPosition": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,15 @@
},
"required": [
"EventSourceArn"
]
],
"type": "object"
},
"then": {
"properties": {
"StartingPosition": {
"type": [
"string",
"object"
]
}
"StartingPosition": true
},
"required": [
"StartingPosition"
]
},
"type": "object"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@
"Code": {
"additionalProperties": true,
"properties": {
"ZipFile": {
"type": [
"object",
"string"
]
}
"ZipFile": true
},
"required": [
"ZipFile"
Expand All @@ -25,17 +20,15 @@
"required": [
"Code",
"Runtime"
]
],
"type": "object"
},
"properties": {},
"then": {
"properties": {
"Runtime": {
"pattern": "^(nodejs.*|python.*)$",
"type": "string"
"pattern": "^(nodejs.*|python.*)$"
},
"required": true
}
},
"type": "object"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@
"Code": {
"additionalProperties": true,
"properties": {
"ZipFile": {
"type": [
"object",
"string"
]
}
"ZipFile": true
},
"required": [
"ZipFile"
Expand All @@ -21,21 +16,15 @@
},
"required": [
"Code"
]
],
"type": "object"
},
"properties": {},
"then": {
"properties": {
"Runtime": {
"type": [
"object",
"string"
]
}
"Runtime": true
},
"required": [
"Runtime"
]
},
"type": "object"
}
}
Loading

0 comments on commit 749b463

Please sign in to comment.