Skip to content

Commit 47e7e40

Browse files
authored
Add logic for subnet ID format (#3761)
* Add logic to add format for subnet IDs * Add rule E1154 to validate Subnet IDs
1 parent 672f1bd commit 47e7e40

File tree

277 files changed

+6160
-2502
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

277 files changed

+6160
-2502
lines changed

scripts/update_schemas_format.py

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,35 @@ def _descend(instance: Any, keywords: Sequence[str]) -> Iterator[deque[str]]:
3636
return
3737

3838

39+
def _create_subnet_ids_patch(type_name: str, ref: str, resolver: RefResolver):
40+
41+
_, resolved = resolver.resolve(ref)
42+
if "$ref" in resolved:
43+
return _create_subnet_ids_patch(
44+
type_name=type_name,
45+
ref=resolved["$ref"],
46+
resolver=resolver,
47+
)
48+
items = resolved.get("items")
49+
if items:
50+
if "$ref" in items:
51+
items_path = items["$ref"]
52+
else:
53+
items_path = ref + "/items"
54+
55+
return [
56+
Patch(
57+
values={"format": "AWS::EC2::Subnet.Ids"},
58+
path=ref[1:],
59+
),
60+
_create_patch(
61+
{"format": "AWS::EC2::Subnet.Id"},
62+
items_path,
63+
resolver=resolver,
64+
),
65+
]
66+
67+
3968
def _create_security_group_ids_patch(type_name: str, ref: str, resolver: RefResolver):
4069
if type_name in ["AWS::Pipes::Pipe", "AWS::EC2::NetworkInsightsAnalysis"]:
4170
return []
@@ -184,6 +213,24 @@ def main():
184213
)
185214
)
186215

216+
for path in _descend(obj, ["Subnets"]):
217+
if path[-2] == "properties":
218+
resource_patches.extend(
219+
_create_subnet_ids_patch(
220+
resource_type, "#/" + "/".join(path), resolver
221+
)
222+
)
223+
224+
for path in _descend(obj, ["SubnetId"]):
225+
if path[-2] == "properties":
226+
resource_patches.append(
227+
_create_patch(
228+
value={"format": "AWS::EC2::Subnet.Id"},
229+
ref="#/" + "/".join(path),
230+
resolver=resolver,
231+
)
232+
)
233+
187234
for path in _descend(obj, ["SecurityGroupIds", "SecurityGroups"]):
188235
if path[-2] == "properties":
189236
resource_patches.extend(
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"91ff8d94668bdd12d0c5f0e4f14e9176\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"6b272784ab5ee64380e1afbeff2dc2b7\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"f103d1dd0afbd815a9f9452338f22e1e\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"f81509de348a0967be7f3e7522c853f8\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"9e3e41525c2aa18c4cc835f5dd2d54ca\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"ec6886f703876cc995c20fcc1a63ceb8\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"c5af86b97e6c01fbc4f631ae9e48c113\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"962d970ff4a0e8eaac7e22be166b04d9\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"a3cb83ca57cb8fcb4d2523412ec7eb56\"", "url": "https://schema.cloudformation.ap-southeast-5.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"284f5207b99c05c18851ec7d6dca40fc\"", "url": "https://schema.cloudformation.ap-southeast-5.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"3d8f7db562c312c673ef927e94cb9637\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"955b95eb824351800bb6c104fa55a21a\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"c6c77e3ae0f3e5bfda471412e05b1452\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"e240ca4edfd903c608f93464cb673784\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"b7afcb326fee1a5f4c6e3fcfeeeef393\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"6dcc26e7d356a0da18166bfa43aa3ce7\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"fb11515c75cabbbf3ce02b42e5e40d46\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"6e785910b27a142d4eb246dc436e963e\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"6f754221de81bebeae31e1b6a2586746\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"475eabbb5e5612f7dfdd4f0d49c5b195\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"2eedaced886b01dd58140d251c1a9439\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"23876adf542952c6010ec5b9174f72bd\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"572e3015be10b15781cad51a1334c3ae\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"1ee37da9fb13d6e676b7f42949e1313b\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"ad8cd9bfb2c0cbc3666c6b5e725b54cc\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"d9f86ac6ec362b7593a9e1e7eacfeb3b\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"eaec1f6e0715031b8648f854d31220cd\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"57bff1a398d853571fbd5d1db37a9c13\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"00baef4fed5e67c3d2389ddaf1502a4d\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"21ae68e324bc48627edc4f8aad6751f1\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"2cf246c47d91e09951a6bfc341e42282\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"0b82384a3134d6f50ca215076c9a2e20\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"a3c0dedebf9f60843f595761933f0c5a\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"a726e0e4b51dd1c9f8368a7bc5d1f103\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"1bfedd2bd6f5634d23e095e6909c9cfd\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"26a1a2313341b664b9f17a39a65df8e5\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"31eab6eadaa72210fb859f02c52512d8\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"1c0ca2f252ceb9e694f30bf61c0e3cd8\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"4e2076de55c138d08e92068d214db681\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"f1eb75d4e17234a3747d778c0afc0e06\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"fdeed46f6265a3c88384e782fabf6f8f\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"48c3487c81c327708f2fd4e8467014ec\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"83afcd963703374755dc76b0ce5b7656\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"74a926e7b633254339f1fab711eabd99\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"c0c62bd6273dba67fec9dfb881604be5\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"fd7c4fe81940185ac6dec367ba6e5e32\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"9f01c74202fe43ce076c7c755940b17b\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"26b2184acde767f88f95f7f07414919e\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}

src/cfnlint/data/schemas/patches/extensions/all/aws_apprunner_vpcconnector/format.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
[
2+
{
3+
"op": "add",
4+
"path": "/properties/Subnets/format",
5+
"value": "AWS::EC2::Subnet.Ids"
6+
},
7+
{
8+
"op": "add",
9+
"path": "/properties/Subnets/items/format",
10+
"value": "AWS::EC2::Subnet.Id"
11+
},
212
{
313
"op": "add",
414
"path": "/properties/SecurityGroups/format",

src/cfnlint/data/schemas/patches/extensions/all/aws_batch_computeenvironment/format.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44
"path": "/definitions/ComputeResources/properties/ImageId/format",
55
"value": "AWS::EC2::Image.Id"
66
},
7+
{
8+
"op": "add",
9+
"path": "/definitions/ComputeResources/properties/Subnets/format",
10+
"value": "AWS::EC2::Subnet.Ids"
11+
},
12+
{
13+
"op": "add",
14+
"path": "/definitions/ComputeResources/properties/Subnets/items/format",
15+
"value": "AWS::EC2::Subnet.Id"
16+
},
717
{
818
"op": "add",
919
"path": "/definitions/ComputeResources/properties/SecurityGroupIds/format",
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/properties/ImageId/format",
5+
"value": "AWS::EC2::Image.Id"
6+
},
7+
{
8+
"op": "add",
9+
"path": "/properties/SubnetId/format",
10+
"value": "AWS::EC2::Subnet.Id"
11+
}
12+
]

src/cfnlint/data/schemas/patches/extensions/all/aws_codebuild_fleet/format.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@
44
"path": "/definitions/VpcConfig/properties/VpcId/format",
55
"value": "AWS::EC2::VPC.Id"
66
},
7+
{
8+
"op": "add",
9+
"path": "/properties/ImageId/format",
10+
"value": "AWS::EC2::Image.Id"
11+
},
12+
{
13+
"op": "add",
14+
"path": "/definitions/VpcConfig/properties/Subnets/format",
15+
"value": "AWS::EC2::Subnet.Ids"
16+
},
17+
{
18+
"op": "add",
19+
"path": "/definitions/VpcConfig/properties/Subnets/items/format",
20+
"value": "AWS::EC2::Subnet.Id"
21+
},
722
{
823
"op": "add",
924
"path": "/definitions/VpcConfig/properties/SecurityGroupIds/format",

src/cfnlint/data/schemas/patches/extensions/all/aws_codebuild_project/format.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44
"path": "/definitions/VpcConfig/properties/VpcId/format",
55
"value": "AWS::EC2::VPC.Id"
66
},
7+
{
8+
"op": "add",
9+
"path": "/definitions/VpcConfig/properties/Subnets/format",
10+
"value": "AWS::EC2::Subnet.Ids"
11+
},
12+
{
13+
"op": "add",
14+
"path": "/definitions/VpcConfig/properties/Subnets/items/format",
15+
"value": "AWS::EC2::Subnet.Id"
16+
},
717
{
818
"op": "add",
919
"path": "/definitions/VpcConfig/properties/SecurityGroupIds/format",

src/cfnlint/data/schemas/patches/extensions/all/aws_comprehend_documentclassifier/format.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
[
2+
{
3+
"op": "add",
4+
"path": "/definitions/VpcConfig/properties/Subnets/format",
5+
"value": "AWS::EC2::Subnet.Ids"
6+
},
7+
{
8+
"op": "add",
9+
"path": "/definitions/VpcConfig/properties/Subnets/items/format",
10+
"value": "AWS::EC2::Subnet.Id"
11+
},
212
{
313
"op": "add",
414
"path": "/definitions/VpcConfig/properties/SecurityGroupIds/format",

src/cfnlint/data/schemas/patches/extensions/all/aws_comprehend_flywheel/format.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
[
2+
{
3+
"op": "add",
4+
"path": "/definitions/VpcConfig/properties/Subnets/format",
5+
"value": "AWS::EC2::Subnet.Ids"
6+
},
7+
{
8+
"op": "add",
9+
"path": "/definitions/VpcConfig/properties/Subnets/items/format",
10+
"value": "AWS::EC2::Subnet.Id"
11+
},
212
{
313
"op": "add",
414
"path": "/definitions/VpcConfig/properties/SecurityGroupIds/format",

src/cfnlint/data/schemas/patches/extensions/all/aws_ec2_clientvpntargetnetworkassociation/__init__.py

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/properties/SubnetId/format",
5+
"value": "AWS::EC2::Subnet.Id"
6+
}
7+
]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/definitions/FleetLaunchTemplateOverridesRequest/properties/SubnetId/format",
5+
"value": "AWS::EC2::Subnet.Id"
6+
}
7+
]

src/cfnlint/data/schemas/patches/extensions/all/aws_ec2_instance/format.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@
99
"path": "/properties/ImageId/format",
1010
"value": "AWS::EC2::Image.Id"
1111
},
12+
{
13+
"op": "add",
14+
"path": "/definitions/NetworkInterface/properties/SubnetId/format",
15+
"value": "AWS::EC2::Subnet.Id"
16+
},
17+
{
18+
"op": "add",
19+
"path": "/properties/SubnetId/format",
20+
"value": "AWS::EC2::Subnet.Id"
21+
},
1222
{
1323
"op": "add",
1424
"path": "/properties/SecurityGroupIds/format",

src/cfnlint/data/schemas/patches/extensions/all/aws_ec2_instanceconnectendpoint/format.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
[
2+
{
3+
"op": "add",
4+
"path": "/properties/SubnetId/format",
5+
"value": "AWS::EC2::Subnet.Id"
6+
},
27
{
38
"op": "add",
49
"path": "/properties/SecurityGroupIds/format",

src/cfnlint/data/schemas/patches/extensions/all/aws_ec2_launchtemplate/format.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
"path": "/definitions/LaunchTemplateData/properties/ImageId/format",
55
"value": "AWS::EC2::Image.Id"
66
},
7+
{
8+
"op": "add",
9+
"path": "/definitions/NetworkInterface/properties/SubnetId/format",
10+
"value": "AWS::EC2::Subnet.Id"
11+
},
712
{
813
"op": "add",
914
"path": "/definitions/LaunchTemplateData/properties/SecurityGroupIds/format",
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/properties/SubnetId/format",
5+
"value": "AWS::EC2::Subnet.Id"
6+
}
7+
]

src/cfnlint/data/schemas/patches/extensions/all/aws_ec2_networkinterface/format.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,10 @@
33
"op": "add",
44
"path": "/properties/VpcId/format",
55
"value": "AWS::EC2::VPC.Id"
6+
},
7+
{
8+
"op": "add",
9+
"path": "/properties/SubnetId/format",
10+
"value": "AWS::EC2::Subnet.Id"
611
}
712
]

src/cfnlint/data/schemas/patches/extensions/all/aws_ec2_spotfleet/format.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@
44
"path": "/definitions/SpotFleetLaunchSpecification/properties/ImageId/format",
55
"value": "AWS::EC2::Image.Id"
66
},
7+
{
8+
"op": "add",
9+
"path": "/definitions/InstanceNetworkInterfaceSpecification/properties/SubnetId/format",
10+
"value": "AWS::EC2::Subnet.Id"
11+
},
12+
{
13+
"op": "add",
14+
"path": "/definitions/LaunchTemplateOverrides/properties/SubnetId/format",
15+
"value": "AWS::EC2::Subnet.Id"
16+
},
17+
{
18+
"op": "add",
19+
"path": "/definitions/SpotFleetLaunchSpecification/properties/SubnetId/format",
20+
"value": "AWS::EC2::Subnet.Id"
21+
},
722
{
823
"op": "add",
924
"path": "/definitions/SpotFleetLaunchSpecification/properties/SecurityGroups/format",

src/cfnlint/data/schemas/patches/extensions/all/aws_ec2_subnet/format.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,10 @@
33
"op": "add",
44
"path": "/properties/VpcId/format",
55
"value": "AWS::EC2::VPC.Id"
6+
},
7+
{
8+
"op": "add",
9+
"path": "/properties/SubnetId/format",
10+
"value": "AWS::EC2::Subnet.Id"
611
}
712
]

src/cfnlint/data/schemas/patches/extensions/all/aws_ec2_subnetcidrblock/__init__.py

Whitespace-only changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/properties/SubnetId/format",
5+
"value": "AWS::EC2::Subnet.Id"
6+
}
7+
]

src/cfnlint/data/schemas/patches/extensions/all/aws_ec2_subnetnetworkaclassociation/__init__.py

Whitespace-only changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/properties/SubnetId/format",
5+
"value": "AWS::EC2::Subnet.Id"
6+
}
7+
]

src/cfnlint/data/schemas/patches/extensions/all/aws_ec2_subnetroutetableassociation/__init__.py

Whitespace-only changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/properties/SubnetId/format",
5+
"value": "AWS::EC2::Subnet.Id"
6+
}
7+
]

src/cfnlint/data/schemas/patches/extensions/all/aws_ec2_transitgatewaymulticastdomainassociation/__init__.py

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/properties/SubnetId/format",
5+
"value": "AWS::EC2::Subnet.Id"
6+
}
7+
]

src/cfnlint/data/schemas/patches/extensions/all/aws_ec2_transitgatewaymulticastgroupmember/__init__.py

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/properties/SubnetId/format",
5+
"value": "AWS::EC2::Subnet.Id"
6+
}
7+
]

src/cfnlint/data/schemas/patches/extensions/all/aws_ec2_transitgatewaymulticastgroupsource/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)