Skip to content
This repository was archived by the owner on Oct 4, 2024. It is now read-only.

Commit 485a7cd

Browse files
authored
Merge pull request #19 from bmoller/molleb/develop
Template validation fixes
2 parents 07d28d1 + 4401d3b commit 485a7cd

File tree

1 file changed

+28
-26
lines changed

1 file changed

+28
-26
lines changed

templates/aws-vpc.template

+28-26
Original file line numberDiff line numberDiff line change
@@ -597,8 +597,8 @@
597597
"InstanceTenancy": {
598598
"Ref": "VPCTenancy"
599599
},
600-
"EnableDnsSupport": "true",
601-
"EnableDnsHostnames": "true",
600+
"EnableDnsSupport": true,
601+
"EnableDnsHostnames": true,
602602
"Tags": [
603603
{
604604
"Key": "Name",
@@ -2498,27 +2498,27 @@
24982498
"Type": "AWS::EC2::NetworkAclEntry",
24992499
"Properties": {
25002500
"CidrBlock": "0.0.0.0/0",
2501-
"Egress": "false",
2501+
"Egress": false,
25022502
"NetworkAclId": {
25032503
"Ref": "PrivateSubnet1BNetworkAcl"
25042504
},
2505-
"Protocol": "-1",
2505+
"Protocol": -1,
25062506
"RuleAction": "allow",
2507-
"RuleNumber": "100"
2507+
"RuleNumber": 100
25082508
}
25092509
},
25102510
"PrivateSubnet1BNetworkAclEntryOutbound": {
25112511
"Condition": "AdditionalPrivateSubnetsCondition",
25122512
"Type": "AWS::EC2::NetworkAclEntry",
25132513
"Properties": {
25142514
"CidrBlock": "0.0.0.0/0",
2515-
"Egress": "true",
2515+
"Egress": true,
25162516
"NetworkAclId": {
25172517
"Ref": "PrivateSubnet1BNetworkAcl"
25182518
},
2519-
"Protocol": "-1",
2519+
"Protocol": -1,
25202520
"RuleAction": "allow",
2521-
"RuleNumber": "100"
2521+
"RuleNumber": 100
25222522
}
25232523
},
25242524
"PrivateSubnet1BNetworkAclAssociation": {
@@ -2601,27 +2601,27 @@
26012601
"Type": "AWS::EC2::NetworkAclEntry",
26022602
"Properties": {
26032603
"CidrBlock": "0.0.0.0/0",
2604-
"Egress": "false",
2604+
"Egress": false,
26052605
"NetworkAclId": {
26062606
"Ref": "PrivateSubnet2BNetworkAcl"
26072607
},
2608-
"Protocol": "-1",
2608+
"Protocol": -1,
26092609
"RuleAction": "allow",
2610-
"RuleNumber": "100"
2610+
"RuleNumber": 100
26112611
}
26122612
},
26132613
"PrivateSubnet2BNetworkAclEntryOutbound": {
26142614
"Condition": "AdditionalPrivateSubnetsCondition",
26152615
"Type": "AWS::EC2::NetworkAclEntry",
26162616
"Properties": {
26172617
"CidrBlock": "0.0.0.0/0",
2618-
"Egress": "true",
2618+
"Egress": true,
26192619
"NetworkAclId": {
26202620
"Ref": "PrivateSubnet2BNetworkAcl"
26212621
},
2622-
"Protocol": "-1",
2622+
"Protocol": -1,
26232623
"RuleAction": "allow",
2624-
"RuleNumber": "100"
2624+
"RuleNumber": 100
26252625
}
26262626
},
26272627
"PrivateSubnet2BNetworkAclAssociation": {
@@ -2704,27 +2704,27 @@
27042704
"Type": "AWS::EC2::NetworkAclEntry",
27052705
"Properties": {
27062706
"CidrBlock": "0.0.0.0/0",
2707-
"Egress": "false",
2707+
"Egress": false,
27082708
"NetworkAclId": {
27092709
"Ref": "PrivateSubnet3BNetworkAcl"
27102710
},
2711-
"Protocol": "-1",
2711+
"Protocol": -1,
27122712
"RuleAction": "allow",
2713-
"RuleNumber": "100"
2713+
"RuleNumber": 100
27142714
}
27152715
},
27162716
"PrivateSubnet3BNetworkAclEntryOutbound": {
27172717
"Condition": "AdditionalPrivateSubnets&3AZCondition",
27182718
"Type": "AWS::EC2::NetworkAclEntry",
27192719
"Properties": {
27202720
"CidrBlock": "0.0.0.0/0",
2721-
"Egress": "true",
2721+
"Egress": true,
27222722
"NetworkAclId": {
27232723
"Ref": "PrivateSubnet3BNetworkAcl"
27242724
},
2725-
"Protocol": "-1",
2725+
"Protocol": -1,
27262726
"RuleAction": "allow",
2727-
"RuleNumber": "100"
2727+
"RuleNumber": 100
27282728
}
27292729
},
27302730
"PrivateSubnet3BNetworkAclAssociation": {
@@ -2807,27 +2807,27 @@
28072807
"Type": "AWS::EC2::NetworkAclEntry",
28082808
"Properties": {
28092809
"CidrBlock": "0.0.0.0/0",
2810-
"Egress": "false",
2810+
"Egress": false,
28112811
"NetworkAclId": {
28122812
"Ref": "PrivateSubnet4BNetworkAcl"
28132813
},
2814-
"Protocol": "-1",
2814+
"Protocol": -1,
28152815
"RuleAction": "allow",
2816-
"RuleNumber": "100"
2816+
"RuleNumber": 100
28172817
}
28182818
},
28192819
"PrivateSubnet4BNetworkAclEntryOutbound": {
28202820
"Condition": "AdditionalPrivateSubnets&4AZCondition",
28212821
"Type": "AWS::EC2::NetworkAclEntry",
28222822
"Properties": {
28232823
"CidrBlock": "0.0.0.0/0",
2824-
"Egress": "true",
2824+
"Egress": true,
28252825
"NetworkAclId": {
28262826
"Ref": "PrivateSubnet4BNetworkAcl"
28272827
},
2828-
"Protocol": "-1",
2828+
"Protocol": -1,
28292829
"RuleAction": "allow",
2830-
"RuleNumber": "100"
2830+
"RuleNumber": 100
28312831
}
28322832
},
28332833
"PrivateSubnet4BNetworkAclAssociation": {
@@ -3016,6 +3016,7 @@
30163016
}
30173017
},
30183018
"S3VPCEndpoint": {
3019+
"Condition": "PrivateSubnetsCondition",
30193020
"Type": "AWS::EC2::VPCEndpoint",
30203021
"Properties": {
30213022
"PolicyDocument": {
@@ -3446,6 +3447,7 @@
34463447
}
34473448
},
34483449
"S3VPCEndpoint": {
3450+
"Condition": "PrivateSubnetsCondition",
34493451
"Description": "S3 VPC Endpoint",
34503452
"Value": {
34513453
"Ref": "S3VPCEndpoint"

0 commit comments

Comments
 (0)