private_cidr_range |
Size of each private subnet. Only used when create_vpc is true. |
number |
n/a |
yes |
public_cidr_range |
Size of each public subnet. Only used when create_vpc is true. |
number |
n/a |
yes |
vpc_cidr |
VPC CIDR Block. Only used when create_vpc is true. |
string |
n/a |
yes |
vpc_name |
Name of the VPC. Only used when create_vpc is true. |
string |
n/a |
yes |
cdp_vpc |
Flag to indicate if the VPC is for a CDP environment. Only used when create_vpc is true. |
bool |
true |
no |
create_vpc |
Flag to specify if the VPC should be created. Otherwise data sources will be used to lookup details of existing resources. |
bool |
true |
no |
deployment_template |
Deployment Pattern to use for Cloud resources and CDP |
string |
null |
no |
enable_dns_hostnames |
Enable DNS Hostname support for the VPC. Only used when create_vpc is true. |
bool |
true |
no |
enable_dns_support |
Enable DNS support for the VPC. Only used when create_vpc is true. |
bool |
true |
no |
enable_nat_gateway |
Enable NAT Gateway for VPC. Only used when create_vpc is true. |
bool |
null |
no |
existing_private_subnet_ids |
List of existing private subnet ids. Required if create_vpc is false. |
list(any) |
null |
no |
existing_public_subnet_ids |
List of existing public subnet ids. Required if create_vpc is false. |
list(any) |
null |
no |
existing_vpc_id |
ID of existing VPC. Required if create_vpc is false. |
string |
null |
no |
private_network_extensions |
Enable creation of resources for connectivity to CDP Control Plane (public subnet and NAT Gateway) for Private Deployment. Only relevant for private deployment template. Only used when create_vpc is true. |
bool |
null |
no |
private_subnet_tags |
Extra tags to apply to Private Subnets. Only used when create_vpc is true. |
map(any) |
null |
no |
public_subnet_tags |
Extra tags to apply to Private Subnets. Only used when create_vpc is true. |
map(any) |
null |
no |
single_nat_gateway |
Use a single NAT Gateway for the VPC. Only used when create_vpc is true. |
bool |
null |
no |
tags |
Tags applied to VPC resources. Only used when create_vpc is true. |
map(any) |
null |
no |
vpc_private_inbound_acl_rules |
Private subnets inbound network ACLs. Exposes default value of VPC module variable to allow for overriding. Only used when create_vpc is true. |
list(map(string)) |
[ { "cidr_block": "0.0.0.0/0", "from_port": 0, "protocol": "-1", "rule_action": "allow", "rule_number": 100, "to_port": 0 } ] |
no |
vpc_private_outbound_acl_rules |
Private subnets outbound network ACLs. Exposes default value of VPC module variable to allow for overriding. Only used when create_vpc is true. |
list(map(string)) |
[ { "cidr_block": "0.0.0.0/0", "from_port": 0, "protocol": "-1", "rule_action": "allow", "rule_number": 100, "to_port": 0 } ] |
no |
vpc_public_inbound_acl_rules |
Inbound network ACLs for Public subnets. Exposes default value of VPC module variable to allow for overriding. Only used when create_vpc is true. |
list(map(string)) |
[ { "cidr_block": "0.0.0.0/0", "from_port": 0, "protocol": "-1", "rule_action": "allow", "rule_number": 100, "to_port": 0 } ] |
no |
vpc_public_outbound_acl_rules |
Public subnets outbound network ACLs. Exposes default value of VPC module variable to allow for overriding. Only used when create_vpc is true. |
list(map(string)) |
[ { "cidr_block": "0.0.0.0/0", "from_port": 0, "protocol": "-1", "rule_action": "allow", "rule_number": 100, "to_port": 0 } ] |
no |
vpc_public_subnets_map_public_ip_on_launch |
Auto-assign public IP on launch for instances created in Public Subnets. Exposes default value of VPC module variable to allow for overriding. Only used when create_vpc is true. |
bool |
true |
no |