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

Commit 341c19c

Browse files
Seblat5chsantiagocardenas
authored andcommitted
Added VPC Tenancy (#11)
* Add Remidate * Deleteing File Deleted extra file * Added VPCTenancy I have added an option for default tenancy in the VPC
1 parent 9f136d4 commit 341c19c

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

templates/aws-vpc.template

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
},
2020
"Parameters": [
2121
"VPCCIDR",
22+
"VPCTenancy",
2223
"CreatePrivateSubnets",
2324
"PrivateSubnet1ACIDR",
2425
"PrivateSubnet2ACIDR",
@@ -99,10 +100,13 @@
99100
},
100101
"PublicSubnet4CIDR": {
101102
"default": "Public subnet 4 CIDR"
102-
},
103+
},
103104
"VPCCIDR": {
104105
"default": "VPC CIDR"
105-
}
106+
},
107+
"VPCTenancy": {
108+
"default": "VPC Tenancy"
109+
},
106110
}
107111
}
108112
},
@@ -248,7 +252,14 @@
248252
"Default": "10.0.0.0/16",
249253
"Description": "CIDR block for the VPC",
250254
"Type": "String"
251-
}
255+
},
256+
"VPCTenancy": {
257+
"AllowedValues" : ["default","dedicated"],
258+
"Default": "default",
259+
"Description": "Please select the tenancy you would like to use for your VPC",
260+
"Type": "String"
261+
262+
}
252263
},
253264
"Mappings": {
254265
"AWSAMIRegionMap": {
@@ -496,6 +507,9 @@
496507
"CidrBlock": {
497508
"Ref": "VPCCIDR"
498509
},
510+
"InstanceTenancy" : {
511+
"Ref":"VPCTenancy"
512+
},
499513
"EnableDnsSupport": "true",
500514
"EnableDnsHostnames": "true",
501515
"Tags": [

0 commit comments

Comments
 (0)