-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathvariables.tf
29 lines (25 loc) · 1011 Bytes
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Set default AWS region. Pay attention to inventory/ec2.ini which should also use the same region.
variable "aws_region" {
description = "Home AWS region"
default = "us-east-1"
}
// Default instance type for HAPEE LB instances. Obviously, something along m5.xlarge or c5.xlarge should be a perfect fit.
variable "aws_hapee_instance_type" {
description = "Default AWS instance type for HAPEE nodes"
default = "t3.small"
}
// Default instance type for Web backends. Typically m5.4xlarge and similar, depending on use case.
variable "aws_web_instance_type" {
description = "Default AWS instance type for Web nodes"
default = "t3.small"
}
// SSH pub key pair located on Amazon. Also set/used in ansible.cfg.
variable "key_name" {
description = "SSH key pair to use in AWS"
default = "noprod-hapee-test"
}
// Typical size of Web cluster backends. It's reasonable to have more than 2.
variable "web_cluster_size" {
description = "Size of Web nodes cluster"
default = 3
}