This repository has been archived by the owner on Nov 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
61 lines (48 loc) · 2.18 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
variable "aws_region" {
description = "The AWS region to create things in."
default = "us-east-1"
}
variable "availability_zones" {
description = "AWS region to launch servers."
default = "us-east-1a,us-east-1b,us-east-1c,us-east-1d,us-east-1e"
}
variable "aws_vpc_id" {
description = "These templates assume a VPC already exists"
}
variable "service_name" {
description = "Used as a prefix for all instances in case you are running several distinct services"
default = "pelias"
}
variable "environment" {
description = "Which environment (dev, staging, prod, etc) this group of machines is for"
default = "dev"
}
variable "pelias-elasticsearch-elb-name" {
description = "The full name of the ELB in front of Elasticsearch instances"
}
variable "legacy-pelias-api-elb-name" {
description = "The full name of the ELB running the legacy Pelias API (not in kubernetes). If blank no alerts for this ELB will be created"
}
variable "legacy-pelias-placeholder-elb-name" {}
variable "legacy-pelias-pip-elb-name" {}
variable "legacy-pelias-interpolation-elb-name" {}
variable "critical-alert-sns-topic-name" {
description = "An Amazon SNS topic (for example, a PagerDuty event endpoint) that will be used as the alarm action for CRITICAL alerts"
}
variable "non-critical-alert-sns-topic-name" {
description = "An Amazon SNS topic (for example, a PagerDuty event endpoint) that will be used as the alarm action for non-critical alerts"
}
variable "alerts_enabled" {
default = "true"
}
variable "legacy_alerts_enabled" {
default = "true"
}
variable "unhealthy-host-evaluation-periods" {
description = "How many periods (which default to minutes) the unhealthy host count alerts for ELBs must be in an unacceptable state for before alerting. This should be set fairly high especailly in dev environments to avoid excessive alerts"
default = 10
}
variable "healthy-host-evaluation-periods" {
description = "How many periods (which default to minutes) the healthy host count alerts for ELBs must be in an unacceptable state for before alerting. This should be set fairly low except perhaps in dev environments, since it represents a complete service failure."
default = 2
}