This module is intended to be used for configuring an AWS network.
In detail, a VPC with two public and two private subnets will be created. Additionally, an Internet Gateway with an Elastic IP will be created and routing tables will be configured (if create_nat is set to true).
In the end you will have a working VPC in which you are able to create private and public (internet faced) resources.
Create a new file called my-project.tf and copy the following content in it:
module "region" {
source = "git::https://github.com/zoitech/terraform-aws-network.git"
vpc_name = "${var.name}"
vpc_network = "10.161.32.0/21"
aws_region = "${var.aws_region}"
create_nat = true
}
This module is maintained by Zoi.
Licensed under the MIT License. Have a look at the file LICENSE
for more information.