-
Notifications
You must be signed in to change notification settings - Fork 15
/
variables.tf
76 lines (62 loc) · 1.65 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
76
variable "project_name" {
description = "Project name, used for namespacing things"
}
variable "instance_type" {
default = "t3.nano"
}
variable "ami" {
description = "Custom AMI, if empty will use latest Ubuntu LTS"
default = ""
}
variable "volume_size" {
description = "Volume size"
default = 8
}
variable "ssh_key_name" {
description = "Name of the key-pair on EC2 (aws-ireland, buildo-aws, ...)"
}
variable "zone_id" {
description = "Route53 Zone ID"
default = ""
}
variable "host_name" {
description = "DNS host name"
default = ""
}
variable "in_open_ports" {
type = list(any)
default = []
}
variable "in_cidr_blocks" {
type = list(any)
default = ["0.0.0.0/0"]
}
variable "in_source_security_group" {
description = "Security group to receive SSH access"
type = string
default = ""
}
variable "disk_utilization_alarm_threshold" {
description = "Disk occupation alarm threshold (% of disk utilization), default 80"
type = number
default = 80
}
variable "disk_utilization_alarm_enabled" {
description = "Determine if the cloudwatch alarm will be created or not"
type = bool
default = true
}
variable "disk_utilization_alarm_actions" {
description = "ARN of the actions to run when the cloudwatch alarm is triggered"
type = list(string)
default = ["arn:aws:sns:eu-west-1:309416224681:bellosguardo"]
}
variable "cloudwatch_agent_config" {
type = string
default = ""
}
variable "instance_profile_policy_arns" {
description = "A list of IAM policy ARNs to be associated to the instance profile"
type = list(string)
default = []
}