Terraform module to create AWS VPC.
No requirements.
Name | Version |
---|---|
aws | n/a |
No modules.
Name | Type |
---|---|
aws_default_security_group.default | resource |
aws_internet_gateway.default | resource |
aws_vpc.default | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
cidr_block | IPv4 CIDR to assign to the VPC | string |
n/a | yes |
default_security_group_deny_all | When true , manage the default security group and remove all rules, disabling all ingress and egress.When false , do not manage the default security group, allowing it to be managed by another component |
bool |
true |
no |
dsg_name | optionally define a custom value for the default security group name. By default, it is defined as a construction from var.labels |
string |
"default" |
no |
igw_name | optionally define a custom value for the internet gateway name. By default, it is defined as a construction from var.labels |
string |
"default" |
no |
labels | Minimum required map of labels(tags) for creating aws resources | object({ |
n/a | yes |
tags | Additional tags | map(string) |
{} |
no |
vpc_name | optionally define a custom value for the vpc. By default, it is defined as a construction from var.labels |
string |
"default" |
no |
Name | Description |
---|---|
igw_id | The ID of the Internet Gateway |
vpc_cidr_block | The CIDR block of the VPC |
vpc_default_route_table_id | The ID of the route table created by default on VPC creation |
vpc_default_security_group_id | The ID of the security group created by default on VPC creation |
vpc_id | The ID of the VPC |
vpc_main_route_table_id | The ID of the main route table associated with this VPC |