Skip to content

Instantly share code, notes, and snippets.

@vcaixeta
Last active February 2, 2018 12:24
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save vcaixeta/23d14a5e1be797b345ea15859593dc02 to your computer and use it in GitHub Desktop.
#defiens the provider to be used and the Region to create the Stack
provider "aws" {
region = "eu-west-1"
}
module "network-stack" {
#configuration parameters
vpc_cidr = "10.250.0.0/24"
vpc_name = "netoops-lab"
subnet-public-a = "10.250.0.0/26"
subnet-public-b = "10.250.0.64/26"
subnet-private-a = "10.250.0.128/26"
subnet-private-b = "10.250.0.192/26"
#Do not edit this part, this points to the Module network-stack Folder
#and all the resources defined on the Module will receive the above variables values and create the Stack for us.
source = "../../modules/network-stack"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment