Network Module
This module is a wrapper around the public VPC module with some additional configuration options suitable for the Tamedia platform.
See the network example how to use it and how to retrieve informations on the created resources from another stack.
Requirements
Providers
Modules
Name |
Source |
Version |
ssm |
./../ssm |
n/a |
vpc |
terraform-aws-modules/vpc/aws |
5.21.0 |
Resources
Name |
Description |
Type |
Default |
Required |
az_count |
Number of availability zones to use |
number |
3 |
no |
cidr |
The CIDR block for the VPC |
string |
"10.0.0.0/16" |
no |
create_vpc |
Create the VPC |
bool |
true |
no |
enable_nat_gateway |
Enable NAT Gateways |
bool |
true |
no |
single_nat_gateway |
Use a single NAT Gateway |
bool |
true |
no |
stack_name |
The stack name for the resources |
string |
n/a |
yes |
subnet_configs |
List of networks objects with their name and size in bits. The order of the list should not change. |
list(map(number)) |
[ { "public": 24 }, { "private": 24 }, { "intra": 26 }, { "database": 26 }, { "redshift": 26 }, { "karpenter": 22 } ] |
no |
tags |
A map of tags to add to all resources |
map(string) |
{} |
no |
Outputs
Name |
Description |
cidr |
The base CIDR block for the VPC |
grouped_networks |
A map of subnet names to their respective details and list of CIDR blocks. |
network_cidr_blocks |
A map from network names to allocated address prefixes in CIDR notation. |
networks |
A list of network objects with name, az, hosts, and cidr_block. |
vpc |
Map of attributes for the VPC |
Requirements
Providers
Name |
Version |
aws |
>= 5.42.0 |
Modules
Name |
Source |
Version |
vpc |
terraform-aws-modules/vpc/aws |
5.8.1 |
Resources
Name |
Description |
Type |
Default |
Required |
az_count |
Number of availability zones to use |
number |
3 |
no |
cidr |
The CIDR block for the VPC |
string |
"10.0.0.0/16" |
no |
create_vpc |
Create the VPC |
bool |
true |
no |
enable_nat_gateway |
Enable NAT Gateways |
bool |
true |
no |
single_nat_gateway |
Use a single NAT Gateway |
bool |
true |
no |
stack_name |
The stack name for the resources |
string |
n/a |
yes |
subnet_configs |
List of networks objects with their name and size in bits. The order of the list should not change. |
list(map(number)) |
[ { "public": 24 }, { "private": 24 }, { "intra": 26 }, { "database": 26 }, { "redshift": 26 }, { "karpenter": 22 } ] |
no |
tags |
A map of tags to add to all resources |
map(string) |
{} |
no |
Outputs
Name |
Description |
cidr |
The base CIDR block for the VPC |
grouped_networks |
A map of subnet names to their respective details and list of CIDR blocks. |
network_cidr_blocks |
A map from network names to allocated address prefixes in CIDR notation. |
networks |
A list of network objects with name, az, hosts, and cidr_block. |
vpc |
Map of attributes for the VPC |