Skip to content

Commit

Permalink
Update specs for 2023-11-08
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Nov 8, 2023
1 parent b7f466c commit e3af241
Show file tree
Hide file tree
Showing 723 changed files with 418,188 additions and 65,698 deletions.
12 changes: 6 additions & 6 deletions scripts/update_schemas_manually.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,12 +689,12 @@ def make_only_one_required(props: Sequence[str]) -> Sequence[Dict[str, Any]]:
Patch(
values={
"allOf": [
{
"anyOf": [
{"required": ["ImageId"]},
{"required": ["LaunchTemplate"]},
],
}
make_only_one_required_with_description(
[
"ImageId",
"LaunchTemplate",
]
),
],
"dependencies": make_only_one(
["NetworkInterfaces", "SubnetId"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"206278237677344fa296137b42fc06b1\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"02e014ee8985791b52ad974bebff54e0\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"91b337267d16015fa90bf7da0b84d7fc\"", "url": "https://schema.cloudformation.cn-north-1.amazonaws.com.cn/CloudformationSchema.zip"}
{"etag": "\"10c229ced250075a1aecabe6bfbd1215\"", "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": "\"56731d739bd8c4b45f8af68ee66d9964\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"e751ac04862bc119db49123eb1be6daa\"", "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": "\"68c6cfab7eba3afa02b54e7e6ebcf146\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"c2641c0af32839255147462705650a54\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"a6844445ae96ea61f1967f303a30ddcb\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"138799795eb2881da7ca996b164465fc\"", "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": "\"fc58a36343da82f0bac55062f9878827\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"e2237f059426314a7228162995b42b15\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"c7c0e16a428f61f5ad460d4ee8e43340\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"}
{"etag": "\"916bb7144c62932d8757565c70ecdfce\"", "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": "\"ba09ded22a27eff7c60f2b182cd1722b\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"eb1c0eaaccb1fe872c67f5c10d27d10f\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"22be3aebd7d3162e135aa320f8dcadd1\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"52ae39831e8800e9a812a0c3684d7c7b\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"78a0699af93f5ad1ca5c040892d52b7c\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"6c54e7dc763584ec8e7fede8c3654a86\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"ad85ec1d802a9d5e939a5d1d444a46d3\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"ef1c938d3171c47d0e2ceb9f5c35247e\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"18a087b35198d9d4eaf6ebd44e6204d0\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"fded3c6ac020127b7828c4bece4d2e68\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"7586b1f4cdfa3ce339525dab716a8bf5\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"0676f5b47bacf42c6e60580eab122412\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"fa00d9d2868c9a589d6f4495a2468989\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"54ff17f0dbc1f427cfae8cb3664059bb\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"d44c13f46d30bb42bce5767802dd68e1\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"1530463b6998acf5d0eb0e10051fc421\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"21acef5be037c90919cb015c62c6d633\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"f8e9103c7668f6e87f608137be9ecaa8\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"f829e553257c5b07684f69fe523c572f\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"c91c2d720be7ce62a3474fc11c9e515a\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"a54758112723659c99eb4a30261c677d\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"d9130f696960b6f188dcd7ba41066abd\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"1865079e125fbc188b15fcd3e843b569\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"c32fa9efdfc2b9861e86b088a6d3fdcb\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"4cb158eb5568c4048a66c50aea2f954e\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"efc9c75f2839951549b5a436d7d7718f\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"d77d0128380e95921dad3614ab83d237\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"869a5045598750ac5c27df09ccbc7c1c\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"6842b9cf2339ea1e6ab332f2394509f9\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"a10574569f0d6d3b33a138793ca28556\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"fec98b142d520b4a4dd12101d30d97ec\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"199ce7f3a4a576f15fe2c9058f165737\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"cb36cadb560dfdb60ca5328acab2763e\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"a3e0bdf3dd224bf336b806bd55fb1cc4\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"7683cb2334d4db56aa368b1af8e4a54a\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"9b77becdf8875f87143fa6da6a71399c\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"f57316e66dfaabfe65dc001842aea4dd\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"8bac1af29f7ce8ccf49239270b8e8881\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{
"op": "add",
"path": "/definitions/LaunchTemplateSpecification/oneOfDescription",
"value": "Specify only one ['LaunchTemplateId', 'LaunchTemplateName']"
"value": "Specify only one ['LaunchTemplateID', 'LaunchTemplateName']"
},
{
"op": "add",
Expand All @@ -21,13 +21,13 @@
"LaunchTemplateName": false
},
"required": [
"LaunchTemplateId"
"LaunchTemplateID"
],
"type": "object"
},
{
"properties": {
"LaunchTemplateId": false
"LaunchTemplateID": false
},
"required": [
"LaunchTemplateName"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,52 @@
"path": "/allOf",
"value": [
{
"anyOf": [
"oneOf": [
{
"properties": {
"LaunchTemplate": false
},
"required": [
"ImageId"
]
],
"type": "object"
},
{
"properties": {
"ImageId": false
},
"required": [
"LaunchTemplate"
]
],
"type": "object"
},
{
"maxProperties": 1,
"minProperties": 1,
"propertyNames": {
"enum": [
"Fn::Base64",
"Fn::GetAtt",
"Fn::GetAZs",
"Fn::ImportValue",
"Fn::Join",
"Fn::Split",
"Fn::FindInMap",
"Fn::Select",
"Ref",
"Fn::If",
"Fn::Contains",
"Fn::Sub",
"Fn::Cidr",
"Fn::Length",
"Fn::ToJsonString",
"Fn::ForEach::[a-zA-Z0-9]+"
]
},
"type": "object"
}
]
],
"oneOfDescription": "Specify only one ['ImageId', 'LaunchTemplate']"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[
{
"op": "test",
"path": "/createOnlyProperties",
"value": [
"/properties/BuildId",
"/properties/CertificateConfiguration",
"/properties/EC2InstanceType",
"/properties/FleetType",
"/properties/InstanceRoleARN",
"/properties/InstanceRoleCredentialsProvider",
"/properties/LogPaths",
"/properties/PeerVpcAwsAccountId",
"/properties/PeerVpcId",
"/properties/ScriptId",
"/properties/ServerLaunchParameters",
"/properties/ServerLaunchPath",
"/properties/CertificateType",
"/properties/ComputeType"
]
},
{
"op": "replace",
"path": "/createOnlyProperties",
"value": [
"/properties/BuildId",
"/properties/CertificateConfiguration",
"/properties/EC2InstanceType",
"/properties/FleetType",
"/properties/InstanceRoleARN",
"/properties/InstanceRoleCredentialsProvider",
"/properties/LogPaths",
"/properties/PeerVpcAwsAccountId",
"/properties/PeerVpcId",
"/properties/ScriptId",
"/properties/ServerLaunchParameters",
"/properties/ServerLaunchPath",
"/properties/CertificateConfiguration/CertificateType",
"/properties/ComputeType"
]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"op": "test",
"path": "/createOnlyProperties",
"value": [
"/properties/ApplyCapacity",
"/properties/BuildId",
"/properties/CertificateConfiguration",
"/properties/EC2InstanceType",
Expand All @@ -23,6 +24,7 @@
"op": "replace",
"path": "/createOnlyProperties",
"value": [
"/properties/ApplyCapacity",
"/properties/BuildId",
"/properties/CertificateConfiguration",
"/properties/EC2InstanceType",
Expand Down
Loading

0 comments on commit e3af241

Please sign in to comment.