Skip to content

Instantly share code, notes, and snippets.

@vcaixeta

vcaixeta/blog_example_project.tf Secret

Last active Feb 2, 2018
Embed
What would you like to do?
#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