Created
May 3, 2023 00:36
-
-
Save hendrixroa/10722d41c46c47d86a13de6ceb7ec72c to your computer and use it in GitHub Desktop.
AWS VPC Ready to use module snippet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module "vpc" { | |
source = "terraform-aws-modules/vpc/aws" | |
name = "NoiselessVPC" | |
cidr = "10.0.0.0/16" | |
azs = ["${var.region}a", "${var.region}b", "${var.region}c"] | |
private_subnets = ["10.0.101.0/24", "10.0.102.0/24", "10.0.103.0/24"] | |
public_subnets = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment