additional_private_subnet_tags |
Additional tags for the private subnets |
map(string) |
{} |
no |
additional_private_subnets |
Additional private subnets to create. |
list(object({ availability_zone = string cidr = string tags = map(string) })) |
[] |
no |
additional_public_subnet_tags |
Additional tags for the public subnets |
map(string) |
{} |
no |
additional_public_subnets |
Additional public subnets to create. |
list(object({ availability_zone = string cidr = string tags = map(string) })) |
[] |
no |
availability_zones |
List of availability zone names that subnets can get deployed into. If not provided, defaults to all AZs for the region. |
list(string) |
[] |
no |
bastion_host_ami_id |
The ID of the AIM to use for the instance. Setting this will ignore bastion_host_ami_name_filter and bastion_host_ami_owners . |
string |
null |
no |
bastion_host_ami_name_filter |
The AMI filter to use for the bastion host's AMI. |
string |
"amzn2-ami-hvm-2.*-x86_64-ebs" |
no |
bastion_host_ami_owners |
The list of owners used to select the AMI. |
list(string) |
[ "amazon" ] |
no |
bastion_host_assign_public_ip |
Whether to assign a public IP address to the bastion host. |
bool |
false |
no |
bastion_host_enabled |
Whether to create an EC2 instance in the VPC that can be used as a bastion host. |
bool |
false |
no |
bastion_host_extra_security_groups |
A list of extra security groups to associate with the bastion host. |
list(string) |
[] |
no |
bastion_host_instance_type |
The instance type to use for the bastion host. |
string |
"t2.micro" |
no |
bastion_host_security_group_rules |
A list of security group rules to apply to the bastion host. |
list(any) |
[ { "cidr_blocks": [ "0.0.0.0/0" ], "description": "Allow all outbound traffic", "from_port": 0, "protocol": -1, "to_port": 0, "type": "egress" }, { "cidr_blocks": [ "0.0.0.0/0" ], "description": "Allow all inbound to SSH", "from_port": 22, "protocol": "tcp", "to_port": 22, "type": "ingress" } ] |
no |
bastion_host_ssh_public_key |
If specified, will be used as the public SSH key for the bastion host. |
string |
"" |
no |
bastion_host_user_data |
The user data to use for the bastion host. |
list(string) |
[] |
no |
bastion_host_user_data_base64 |
The user data to use for the bastion host, base64 encoded. |
string |
"" |
no |
cidr |
The CIDR to be used for the VPC. |
string |
n/a |
yes |
enable_ipv6 |
Whether to enable the ipv6 stack. |
bool |
false |
no |
map_public_ip_on_launch |
Whether to map public IPs on launch. |
bool |
false |
no |
name |
The name of the VPC. |
string |
n/a |
yes |
region |
The region in which to create the VPC. |
string |
n/a |
yes |
secondary_cidr_blocks |
List of secondary CIDR blocks to use. |
list(string) |
[] |
no |
tags |
The tags to place on the VPC. |
map(string) |
n/a |
yes |