Created
September 24, 2019 09:06
-
-
Save unfor19/f26ed17b46459d6cc1c056e12e7ce9a1 to your computer and use it in GitHub Desktop.
Issue #2: Full solution
This file contains 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" | |
version = "~>2.0" | |
name = "my-vpc" | |
cidr = "${lookup(var.cidr_ab, var.environment)}.0.0/16" | |
private_subnets = local.private_subnets | |
database_subnets = local.database_subnets | |
public_subnets = local.public_subnets | |
azs = local.availability_zones | |
# omitted arguments for brevity | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment