-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathvariables.tf
53 lines (43 loc) · 1 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
variable "enabled" {
description = "Flag to enable or disable the sending of emails"
default = "true"
}
variable "from" {
description = "From address for email"
}
variable "to" {
description = "Email recipients"
type = list(string)
}
variable "subject" {
description = "Email subject template"
}
variable "body" {
description = "Email body template"
}
variable "username" {
description = "Username to authenticate with the SMTP server"
type = string
}
variable "password" {
description = "Password to authenticate with the SMTP server"
type = string
}
variable "host" {
description = "SMTP Host"
default = "smtp.mailgun.org"
}
variable "port" {
description = "SMTP Port"
default = "587"
}
variable "vars" {
description = "Parameters to pass to the body template"
default = {}
}
# We recommend the following tool:
# https://github.com/wrouesnel/emailcli
variable "mail_command" {
description = "Command to execute"
default = "email"
}