From 72a4e5e6effca03c9d4804c5a3346c2aacd892e6 Mon Sep 17 00:00:00 2001 From: Konrad Rotkiewicz Date: Fri, 14 Jul 2017 07:41:49 +0200 Subject: [PATCH] add instance type to example --- README.md | 1 + example/main.tf | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 9e994bb..c29a78f 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ region = "" access_key = "" secret_key = "" ssh_key_name = "" +instance_type = "t2.small" vpc_id = "" subnet_ids = ["", ""] ssh_security_group_ids = [] diff --git a/example/main.tf b/example/main.tf index 072ffee..37c9bfa 100644 --- a/example/main.tf +++ b/example/main.tf @@ -4,6 +4,7 @@ variable "region" {} variable "vpc_id" {} variable "ssh_key_name" {} +variable "instance_type" {} variable "subnet_ids" { type = "list" } @@ -30,6 +31,7 @@ module "rabbitmq" { region = "${var.region}" vpc_id = "${var.vpc_id}" ssh_key_name = "${var.ssh_key_name}" + instance_type = "${var.instance_type}" subnet_ids = "${var.subnet_ids}" ssh_security_group_ids = "${var.ssh_security_group_ids}" elb_security_group_ids = "${var.elb_security_group_ids}"