Files
terraform-aws-vpc-factory/examples/minimum
2024-03-24 17:03:43 +01:00
..
2024-03-24 17:03:43 +01:00
2024-01-19 16:29:01 +01:00
2024-03-24 17:03:43 +01:00
2024-01-19 16:29:01 +01:00
2024-01-19 16:29:01 +01:00

Minimum VPC Factory

Configuration in this directory creates a VPC with 2 groups of subnets named public and private. 1 subnet per availability zone in the region is created on each group. Cidr block for each subnet in the group is calculated automaticaly based on the group cidr_block and the numbre of availability zone used.

The group named public is declared as public, that means a route table with a default route to internet gateway is associated to each subnet of this group.

Other subnets are routed localy inside the VPC.

network_acl_disabled is set to true becsause in this exemple we don't want to manage Network ACLs. That way, the VPC default Network ACL is configure with ingress and egress rules whitch are allowing all trafic.

Usage

To run this example you need to execute:

terraform init
terraform plan
terraform apply

Requirements

Name Version
terraform >=1.0
aws >=4.0

Providers

No providers.

Modules

Name Source Version
vpc ../.. n/a

Resources

No resources.

Inputs

No inputs.

Outputs

Name Description
module VPC module outputs