This repository has been archived by the owner on Oct 31, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathvariables.tf
75 lines (59 loc) · 2.08 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
variable "vpc_cidr" {
default = "10.0.0.0/16"
}
variable "azs" {
default = ["a", "b"]
description = "Availability zones to use within the specified region - pick two from https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#using-regions-availability-zones-describe"
}
variable "ip_whitelist" {
default = "0.0.0.0/0"
}
variable "private_zone_name" {
default = "devsecops.local"
}
variable "db_pass" {
description = "The database password"
type = "string"
}
variable "ssh_user" {
default = "ubuntu"
}
variable "wordpress_iam_role_name" {
default = "wordpress_role"
}
variable "egress_proxy_iam_role_name" {
default = "egress_proxy_role"
}
variable "egress_proxy_port" {
default = 3128
}
variable "egress_proxy_acls" {
default = []
}
variable "sns_general_availability_topic_name" {
default = "devsecops-example-availability-alarms"
}
variable "general_availability_protocol" {
default = "email"
description = "See '--protocol' options under https://docs.aws.amazon.com/cli/latest/reference/sns/subscribe.html#options"
}
variable "general_availability_endpoint" {
type = "string"
description = "The destination (such as an email address) to send the monitoring alerts to. More info under https://docs.aws.amazon.com/cli/latest/reference/sns/subscribe.html#options. Note that changing this value will require you to run a 'taint aws_sns_topic.sns_general_availability' before an 'apply'."
}
variable "high_cpu_wordpress_alarm_threshold" {
description = "Percent CPU threshold for alarm on Wordpress instance"
default = "80"
}
variable "high_memory_wordpress_alarm_threshold" {
description = "Percent memory threshold for alarm on Wordpress instance"
default = "80"
}
variable "high_disk_util_wordpress_alarm_threshold" {
description = "Percent disk utilization threshold for alarm on Wordpress instance"
default = "85"
}
variable "deployer_public_key_path" {
default = ""
description = "Path to a public key to use for deployment. Defaults to the public key checked into the repository."
}