This Terraform module contains the neccessary resources for creating a best-practices Virtual Private Cloud (VPC) setup in AWS.
As per AWS best practices, a single VPC will be created with both public and private subnets, each subnet placed in a seperate availability zone. Each of the private subnets have their own private NAT gateway to allow internet access for resources hosted within the private zone of the network.
Include this repository as a module in your existing terraform code:
module "vpc" {
source = "git::ssh://[email protected]/osodevops/aws-terraform-module-vpc.git"
environment = "dev"
common_tags = var.common_tags
zone = ["us-east-1a", "us-east-1b", "us-east-1c"]
account_name = "foo-bar-aws"
cidr = "10.1.0.0/16"
}
Check out these related projects.
- OSO S3 Terraform module - HCL backend stored in S3
Discover our customer stories and see what OSO can deliver for your business.
- How VAS Group Migrated Their Applications to AWS - Example usage of the VPC module
File a GitHub issue, send us an email or tweet us.
Copyright © 2017-2022 OSO | See LICENCE for full details.
We at OSO help teams to adopt emerging technologies and solutions to boost their competitiveness, operational excellence and introduce meaningful innovations that drive real business growth. Our developer-first culture, combined with our cross-industry experience and battle-tested delivery methods allow us to implement the most impactful solutions for your business.
Looking for support applying emerging technologies in your business? We’d love to hear from you, get in touch by email
Start adopting new technologies by checking out our other projects, follow us on twitter, join our team of leaders and challengers, or contact us to find the right technology to support your business.