Created
March 31, 2017 23:36
-
-
Save duduribeiro/23ca8144a181c13bdb2060bcf9cdeb32 to your computer and use it in GitHub Desktop.
Terraform staging - web.tf
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 "web" { | |
source = "../modules/web" | |
web_instance_count = "${var.web_instance_count}" | |
region = "${var.region}" | |
instance_type = "t2.micro" | |
private_subnet_id = "${module.networking.private_subnet_id}" | |
public_subnet_id = "${module.networking.public_subnet_id}" | |
vpc_sg_id = "${module.networking.default_sg_id}" | |
key_name = "${var.key_name}" | |
environment = "${var.environment}" | |
vpc_id = "${module.networking.vpc_id}" | |
vpc_cidr_block = "${var.vpc_cidr}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment