flavien
0c04246c4a
continuous-integration/drone/push Build is failing
Details
|
||
---|---|---|
.drone.yml | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.releaserc.json | ||
CHANGELOG.md | ||
README.md | ||
main.tf | ||
outputs.tf | ||
variables.tf |
README.md
aws_network_terraform
Terraform module to provision a vpc with public and private subnets for each AZ. Provision a internet gateway for public subnets and a NAT gateway for private subnets.
Requirements
No requirements.
Providers
Name | Version |
---|---|
aws | n/a |
Modules
No modules.
Resources
Name | Type |
---|---|
aws_eip.nat | resource |
aws_internet_gateway.main | resource |
aws_nat_gateway.nat | resource |
aws_route_table.private_subnets | resource |
aws_route_table.public_subnets | resource |
aws_route_table_association.private_routes | resource |
aws_route_table_association.public_routes | resource |
aws_subnet.private_subnets | resource |
aws_subnet.public_subnets | resource |
aws_vpc.main | resource |
aws_availability_zones.available | data source |
Inputs
Name | Description | Type | Default | Required |
---|---|---|---|---|
env | environment of the deployment | string |
n/a | yes |
tags | general tags to apply to all the resources | map(string) |
n/a | yes |
vpc_cidr | cidr block of the VPC | string |
"10.0.0.0/16" |
no |
Outputs
Name | Description |
---|---|
private_subnets_cidrs | cidr block of the created private subnets |
private_subnets_ids | ids of the created private subnets |
public_subnets_cidrs | cidr block of the created public subnets |
public_subnets_ids | ids of the created public subnets |
vpc_cidr | cidr block of the created VPC |
vpc_id | id of the created VPC |