Skip to content

Commit 72a4e5e

Browse files
committed
add instance type to example
1 parent 762e2d0 commit 72a4e5e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ region = "<REGION-HERE>"
2323
access_key = "<YOUR-KEY-HERE>"
2424
secret_key = "<YOUR-SECRET-HERE>"
2525
ssh_key_name = "<SSH-KEY-NAME>"
26+
instance_type = "t2.small"
2627
vpc_id = "<VPC-ID>"
2728
subnet_ids = ["<SUBNET-ID-1>", "<SUBNET-ID-2>"]
2829
ssh_security_group_ids = []

example/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ variable "region" {}
44

55
variable "vpc_id" {}
66
variable "ssh_key_name" {}
7+
variable "instance_type" {}
78
variable "subnet_ids" {
89
type = "list"
910
}
@@ -30,6 +31,7 @@ module "rabbitmq" {
3031
region = "${var.region}"
3132
vpc_id = "${var.vpc_id}"
3233
ssh_key_name = "${var.ssh_key_name}"
34+
instance_type = "${var.instance_type}"
3335
subnet_ids = "${var.subnet_ids}"
3436
ssh_security_group_ids = "${var.ssh_security_group_ids}"
3537
elb_security_group_ids = "${var.elb_security_group_ids}"

0 commit comments

Comments
 (0)