Skip to content

Commit

Permalink
Update schema patching and fix some issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Aug 5, 2024
1 parent 39ca987 commit 88908a4
Show file tree
Hide file tree
Showing 69 changed files with 187 additions and 3,320 deletions.
4 changes: 0 additions & 4 deletions scripts/update_schemas_manually.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@
values={"requiredXor": ["LaunchTemplateId", "LaunchTemplateName"]},
path="/definitions/LaunchTemplateSpecification",
),
Patch(
values={"pattern": "^ephemeral([0-9]|[1][0-9]|[2][0-3])$"},
path="/definitions/BlockDeviceMapping/properties/VirtualName",
),
Patch(
values={
"dependentExcluded": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"e45c54c3a5c71778a502ab083126b1fa\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"13e2ba2de2278576e21963023dc47eb9\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"4c81dcd19aa9816dfaa8593700c8b256\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"c5a0d95dbb08a6630ecb0d0afccdc1c9\"", "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": "\"8aad0081fc5aa178830b85318675d35a\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"b3496749571dd1d88c79b5d7f65e01d4\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"2ea262252de69675e96d642565768882\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"babf77f32064122868adcaacd6e6cf2a\"", "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": "\"ce9d915909dfbf40b4b70d41faac8eb5\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"7b36451bce4de8d4adbb079e44906d70\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"16cf790a1063e4ff2ceb494a84ef5106\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"31f53d67c72c89b3a0a7d42ae4011bd2\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"4eec9daa1781dcb148c850bc451672b9\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"1072d0485f7b5d06f887e1a9595db65e\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"18998b0ae923fffebacca8ef1b921860\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"ebfe2d60e21a0621519f4bbcb09f73aa\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"5f81eab795885987d59d1723064991c0\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"a1f5c3420a76e24c4e6ab98c2450b976\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"055992d589da8f7d83d860a833bbf9c8\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"3ddf68c043d9e9b54a99406435f73fa5\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"26da827da26466c0e4e9e66416263b70\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"967e93658732751c98a6359c52b76221\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"ab8051be145f827b2026c8ac2dc7e711\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"e7ba3b3b1f564a05f8ef6fbf467edbce\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"4ea9140666e056175d560ddf4db3f32c\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"8e514a8ec045575ff059aeb81ed0779b\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"e8433152cfddd2425b7cb5b351f30aa3\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"a9e556527d5bb7c0ec81e40b976523c7\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"3eabcf49b17463f84d79bdd4cfed5ba2\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"19efa72570c84eab9dff600f4d48b7a1\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"ea086e9fd6c340ad68cfda6171979f11\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"9cad48037f601bb883e0ec7d728b60ff\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"beab4a210da56c904872b7172287ab72\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"6f3328cd84a62d7b2b7971e94d615960\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"0d71cdf3774c6d17aa0137c143d4a599\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"95603a27f963cea737b1972f8d079417\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"8d3c0ca36bef826c791d9332b3294b45\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"5f291ba3d1e67c93c345ffdcaf36bef0\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"d96cbf63de582f3a84eca64210e18ab3\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"c6d560fb5796260a954c040ef9e0ad7b\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"bf496693cdeec53441391670ebb9137d\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"090821fcf2cfb2c2421d9507871c725f\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"798c2d3e9f1910dff0637434fc4bc5a7\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"dcb6f2b1f562542607d4f4a3ca4d2dfa\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"fa531a88fd97a35e6d560759c5339aea\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"429b619a92b755518f883c1bfafde202\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"e88ca4cbdccde6f2a47c2a9be820cc16\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"2612ab90cebe491a5d06f0a8d21c983e\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"620982705a95dba5258daa8fc0703ff3\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"a098f8aab8e96142bf8528eb90e0c25e\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"06da2b21928da255943e68f7199dd148\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"e985314b846cbb7fc5d7896d2f41b98e\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"e85eee307215b9ad6e6499fadeaa48b8\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"0bb56400b046eef97c15dc41d85b6d77\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"88115ccc33a8cff2306deb520e3b747f\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"0c26a280b66fbb26f9e98da5ed6de5cd\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@
"LaunchTemplateName"
]
},
{
"op": "add",
"path": "/definitions/BlockDeviceMapping/properties/VirtualName/pattern",
"value": "^ephemeral([0-9]|[1][0-9]|[2][0-3])$"
},
{
"op": "add",
"path": "/dependentExcluded",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
{
"op": "add",
"path": "/definitions/KeySchema/properties/KeyType/enum",
"path": "/definitions/KeySchema/items/properties/KeyType/enum",
"value": [
"HASH",
"RANGE"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@
"type": "string"
},
"KeyType": {
"enum": [
"HASH",
"RANGE"
],
"type": "string"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2133,7 +2133,6 @@
"aws-sso-instance.json",
"aws-sso-instanceaccesscontrolattributeconfiguration.json",
"aws-sso-permissionset.json",
"aws-stepfunctions-activity.json",
"aws-stepfunctions-statemachine.json",
"aws-stepfunctions-statemachinealias.json",
"aws-stepfunctions-statemachineversion.json",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1430,6 +1430,7 @@
"aws-servicediscovery-privatednsnamespace.json",
"aws-servicediscovery-publicdnsnamespace.json",
"aws-servicediscovery-service.json",
"aws-ses-configurationset.json",
"aws-ses-configurationseteventdestination.json",
"aws-ses-contactlist.json",
"aws-ses-dedicatedippool.json",
Expand Down
2 changes: 1 addition & 1 deletion src/cfnlint/data/schemas/providers/ap_south_1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2051,6 +2051,7 @@
"aws-sagemaker-modelbiasjobdefinition.json",
"aws-sagemaker-modelcard.json",
"aws-sagemaker-modelexplainabilityjobdefinition.json",
"aws-sagemaker-modelpackage.json",
"aws-sagemaker-modelpackagegroup.json",
"aws-sagemaker-modelqualityjobdefinition.json",
"aws-sagemaker-monitoringschedule.json",
Expand Down Expand Up @@ -2109,7 +2110,6 @@
"aws-servicediscovery-privatednsnamespace.json",
"aws-servicediscovery-publicdnsnamespace.json",
"aws-servicediscovery-service.json",
"aws-ses-configurationset.json",
"aws-ses-configurationseteventdestination.json",
"aws-ses-contactlist.json",
"aws-ses-dedicatedippool.json",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2191,6 +2191,7 @@
"aws-sagemaker-modelbiasjobdefinition.json",
"aws-sagemaker-modelcard.json",
"aws-sagemaker-modelexplainabilityjobdefinition.json",
"aws-sagemaker-modelpackage.json",
"aws-sagemaker-modelpackagegroup.json",
"aws-sagemaker-modelqualityjobdefinition.json",
"aws-sagemaker-monitoringschedule.json",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2288,6 +2288,7 @@
"aws-servicediscovery-privatednsnamespace.json",
"aws-servicediscovery-publicdnsnamespace.json",
"aws-servicediscovery-service.json",
"aws-ses-configurationset.json",
"aws-ses-configurationseteventdestination.json",
"aws-ses-contactlist.json",
"aws-ses-dedicatedippool.json",
Expand Down
2 changes: 2 additions & 0 deletions src/cfnlint/data/schemas/providers/ap_southeast_4/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1133,6 +1133,8 @@
"aws-sso-instance.json",
"aws-sso-instanceaccesscontrolattributeconfiguration.json",
"aws-sso-permissionset.json",
"aws-stepfunctions-activity.json",
"aws-stepfunctions-statemachine.json",
"aws-stepfunctions-statemachinealias.json",
"aws-stepfunctions-statemachineversion.json",
"aws-synthetics-canary.json",
Expand Down
Loading

0 comments on commit 88908a4

Please sign in to comment.