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
| <aname="input_amazon_side_asn"></a> [amazon\_side\_asn](#input\_amazon\_side\_asn)| The Autonomous System Number (ASN) for the Amazon side of the gateway. By default the virtual private gateway is created with the current default Amazon ASN. |`string`|`"64512"`| no |
305
305
| <aname="input_assign_ipv6_address_on_creation"></a> [assign\_ipv6\_address\_on\_creation](#input\_assign\_ipv6\_address\_on\_creation)| Assign IPv6 address on subnet, must be disabled to change IPv6 CIDRs. This is the IPv6 equivalent of map\_public\_ip\_on\_launch |`bool`|`false`| no |
306
306
| <aname="input_azs"></a> [azs](#input\_azs)| A list of availability zones names or ids in the region |`list(string)`|`[]`| no |
307
-
| <aname="input_cidr"></a> [cidr](#input\_cidr)| The CIDR block for the VPC. Default value is a valid CIDR, but not acceptable by AWS and should be overridden|`string`|`"0.0.0.0/0"`| no |
307
+
| <aname="input_cidr"></a> [cidr](#input\_cidr)|(Optional) The IPv4 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv4_netmask_length` & `ipv4_ipam_pool_id`|`string`|`"0.0.0.0/0"`| no |
308
308
| <aname="input_create_database_internet_gateway_route"></a> [create\_database\_internet\_gateway\_route](#input\_create\_database\_internet\_gateway\_route)| Controls if an internet gateway route for public database access should be created |`bool`|`false`| no |
309
309
| <aname="input_create_database_nat_gateway_route"></a> [create\_database\_nat\_gateway\_route](#input\_create\_database\_nat\_gateway\_route)| Controls if a nat gateway route should be created to give internet access to the database subnets |`bool`|`false`| no |
310
310
| <aname="input_create_database_subnet_group"></a> [create\_database\_subnet\_group](#input\_create\_database\_subnet\_group)| Controls if database subnet group should be created (n.b. database\_subnets must also be set) |`bool`|`true`| no |
@@ -402,6 +402,8 @@ No modules.
402
402
| <aname="input_intra_subnet_suffix"></a> [intra\_subnet\_suffix](#input\_intra\_subnet\_suffix)| Suffix to append to intra subnets name |`string`|`"intra"`| no |
403
403
| <aname="input_intra_subnet_tags"></a> [intra\_subnet\_tags](#input\_intra\_subnet\_tags)| Additional tags for the intra subnets |`map(string)`|`{}`| no |
404
404
| <aname="input_intra_subnets"></a> [intra\_subnets](#input\_intra\_subnets)| A list of intra subnets |`list(string)`|`[]`| no |
405
+
| <aname="input_ipv4_ipam_pool_id"></a> [ipv4\_ipam\_pool\_id](#input\_ipv4\_ipam\_pool\_id)| (Optional) The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. |`string`|`null`| no |
406
+
| <aname="input_ipv4_netmask_length"></a> [ipv4\_netmask\_length](#input\_ipv4\_netmask\_length)| (Optional) The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a ipv4\_ipam\_pool\_id. |`number`|`null`| no |
405
407
| <aname="input_manage_default_network_acl"></a> [manage\_default\_network\_acl](#input\_manage\_default\_network\_acl)| Should be true to adopt and manage Default Network ACL |`bool`|`false`| no |
406
408
| <aname="input_manage_default_route_table"></a> [manage\_default\_route\_table](#input\_manage\_default\_route\_table)| Should be true to manage default route table |`bool`|`false`| no |
407
409
| <aname="input_manage_default_security_group"></a> [manage\_default\_security\_group](#input\_manage\_default\_security\_group)| Should be true to adopt and manage default security group |`bool`|`false`| no |
Copy file name to clipboardExpand all lines: variables.tf
+13-1Lines changed: 13 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ variable "name" {
11
11
}
12
12
13
13
variable"cidr" {
14
-
description="The CIDR block for the VPC. Default value is a valid CIDR, but not acceptable by AWS and should be overridden"
14
+
description="(Optional) The IPv4 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv4_netmask_length` & `ipv4_ipam_pool_id`"
0 commit comments