Skip to content

lbrulet/terraform-basic-infra

Repository files navigation

Terraform basic infra

This is a repository to deploy an infrastructure that have

  • a custom vpc with 9 subnets, 3 publics, 3 privates, 3 subnets for data
  • keypair already generated
  • launch configuration, autoscaling group into the private subnets for high availability
  • application load balancer with target group and a listener as well into the public subnets for high availability
  • rds postgres 9.6.16 in data subnet for high availability.

alt text

Installation

Use terraform from HashiCorp to install.

terraform init

Usage

To deploy the infrastructure

make up

To destroy the infrastructure

make down

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT