You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**in_vpc_cidr**| String | The VPC's Cidr defining the range of available IP addresses | 10.42.0.0/16 |
32
-
|**in_num_private_subnets**| Integer | Number of private subnets to create across availability zones | 3 |
33
-
|**in_num_public_subnets**| Integer | Number of public subnets to create across availability zones. If one or more an internet gateway and route to the internet will be created regardless of the value of the in_create_gateway boolean variable. | 3 |
34
-
|**in_create_gateway**| Boolean | If set to true an internet gateway and route will be created even when no public subnets are requested. | false |
35
-
|**[in_subnets_max](https://www.devopswiki.co.uk/vpc/network-cidr)**| Integer | 2 to the power of this is the max number of carvable subnets | 4 (16 subnets) |
36
-
|**in_ecosystem**| String | the class name of the ecosystem being built here | eco-system |
32
+
|**`in_vpc_cidr`**| string | The VPC's Cidr defining the range of available IP addresses | 10.42.0.0/16 |
33
+
|**`in_num_private_subnets`**| number | Number of private subnets to create across availability zones | 3 |
34
+
|**`in_num_public_subnets`**| number | Number of public subnets to create across availability zones. If one or more an internet gateway and route to the internet will be created regardless of the value of the in_create_gateway boolean variable. | 3 |
35
+
|**`in_create_public_gateway`**| bool | if true create an internet gateway and routes so services can access the internet. | true |
36
+
|**`in_create_private_gateway`**| bool | if true creates a NAT gateway and private routes for egress access from private subnets. | true |
37
+
|**`in_subnets_max`**| Integer | 2 to the power of this is the [max number of carvable subnets](https://www.devopswiki.co.uk/vpc/network-cidr)| 4 (16 subnets) |
38
+
37
39
38
-
### Resource Tag Inputs
40
+
### Optional Resource Tag Inputs
39
41
40
42
Most organisations have a mandatory set of tags that must be placed on AWS resources for cost and billing reports. Typically they denote owners and specify whether environments are prod or non-prod.
41
43
@@ -87,11 +89,11 @@ Here are the most popular **output variables** exported from this VPC and subnet
87
89
88
90
| Exported | Type | Example | Comment |
89
91
|:-------- |:---- |:------- |:------- |
90
-
**out_vpc_id** | String | vpc-1234567890 | the **VPC id** of the just-created VPC
91
-
**out_rtb_id** | String | "rtb-2468013579" | ID of the VPC's default route table
92
-
**out_subnet_ids** | List of Strings | [ "subnet-545123498798345", "subnet-83507325124987" ] | list of **all private and public** subnet ids
93
-
**out_private_subnet_ids** | List of Strings | [ "subnet-545123498798345", "subnet-83507325124987" ] | list of **private** subnet ids
94
-
**out_public_subnet_ids** | List of Strings | [ "subnet-945873408204034", "subnet-8940202943031" ] | list of **public** subnet ids
92
+
**`out_vpc_id`** | String | vpc-1234567890 | the **VPC id** of the just-created VPC
93
+
**`out_rtb_id`** | String | "rtb-2468013579" | ID of the VPC's default route table
94
+
**`out_subnet_ids`** | List of Strings | [ "subnet-545123498798345", "subnet-83507325124987" ] | list of **all private and public** subnet ids
95
+
**`out_private_subnet_ids`** | List of Strings | [ "subnet-545123498798345", "subnet-83507325124987" ] | list of **private** subnet ids
96
+
**`out_public_subnet_ids`** | List of Strings | [ "subnet-945873408204034", "subnet-8940202943031" ] | list of **public** subnet ids
0 commit comments