Skip to content

Instantly share code, notes, and snippets.

@swade1987
Created March 18, 2016 21:27
Show Gist options
  • Select an option

  • Save swade1987/3feb04e120620db47de7 to your computer and use it in GitHub Desktop.

Select an option

Save swade1987/3feb04e120620db47de7 to your computer and use it in GitHub Desktop.
variable "elasticsearch_ami" {
default = "ami-f37a9393"
}
module "elasticsearch" {
source = "../modules/elasticsearch"
ami = "${var.elasticsearch_ami}"
vpc_id = "${module.vpc.vpc_id}"
subnets = "${module.vpc.private_subnets}"
ingress_cidr_blocks = "0.0.0.0/0"
availability_zones = "${module.vpc.private_availability_zones}"
key_name = "${aws_key_pair.ssh_key.key_name}"
instance_type = "m3.large"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment