-
Notifications
You must be signed in to change notification settings - Fork 6
/
variables_airflow_cfg.tf
120 lines (101 loc) · 4.44 KB
/
variables_airflow_cfg.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# Env variables for airflow.cfg
variable "airflow_core_logging_level" {
type = string
description = "Webserver logging level."
default = "INFO"
}
variable "airflow_core_load_example_dags" {
type = string
description = "Whether to load the DAG examples that ship with Airflow. It’s good to get started, but you probably want to set this to False in a production environment."
default = "n"
}
variable "airflow_core_dag_concurrency" {
type = string
description = "The number of task instances allowed to run concurrently by the scheduler."
default = "32"
}
variable "airflow_core_worker_concurrency" {
type = string
description = "The concurrency that will be used when starting workers with the airflow celery worker command. This defines the number of task instances that a worker will take, so size up your workers based on the resources on your worker box and the nature of your tasks."
default = "32"
}
variable "airflow_core_load_default_connections" {
type = string
description = "Whether to load the default connections that ship with Airflow. It’s good to get started, but you probably want to set this to False in a production environment."
default = "False"
}
variable "airflow_scheduler_dag_dir_list_interval" {
type = string
description = "How often (in seconds) to scan the DAGs directory for new files."
default = "180"
}
variable "airflow_scheduler_statsd_on" {
type = string
description = "Statsd (https://github.com/etsy/statsd) integration settings."
default = "False"
}
variable "airflow_scheduler_statsd_host" {
type = string
description = "Statsd (https://github.com/etsy/statsd) integration settings."
default = "localhost"
}
variable "airflow_scheduler_statsd_port" {
type = string
description = "Statsd (https://github.com/etsy/statsd) integration settings."
default = "8125"
}
variable "airflow_scheduler_statsd_prefix" {
type = string
description = "Statsd (https://github.com/etsy/statsd) integration settings."
default = "airflow"
}
variable "airflow_scheduler_statsd_allow_list" {
type = string
description = "If you want to avoid send all the available metrics to StatsD, you can configure an allow list of prefixes to send only the metrics that start with the elements of the list (e.g: scheduler,executor,dagrun)"
default = ""
}
variable "airflow_smtp_smtp_host" {
type = string
description = "If you want airflow to send emails on retries, failure, and you want to use the airflow.utils.email.send_email_smtp function, you have to configure an smtp server here."
default = "localhost"
}
variable "airflow_smtp_smtp_starttls" {
type = string
description = "SMTP configuration: Inform the email server to use secure connection"
default = "True"
}
variable "airflow_smtp_smtp_smtp_ssl" {
type = string
description = "SMTP configuration: Use SSL"
default = "False"
}
variable "airflow_smtp_smtp_port" {
type = string
description = "If you want airflow to send emails on retries, failure, and you want to use the airflow.utils.email.send_email_smtp function, you have to configure an smtp server here."
default = "25"
}
variable "airflow_smtp_smtp_user" {
type = string
description = "If you want airflow to send emails on retries, failure, and you want to use the airflow.utils.email.send_email_smtp function, you have to configure an smtp server here."
default = "None"
}
variable "airflow_smtp_smtp_password" {
type = string
description = "If you want airflow to send emails on retries, failure, and you want to use the airflow.utils.email.send_email_smtp function, you have to configure an smtp server here."
default = "None"
}
variable "airflow_smtp_smtp_mail_from" {
type = string
description = "If you want airflow to send emails on retries, failure, and you want to use the airflow.utils.email.send_email_smtp function, you have to configure an smtp server here."
default = "airflow@example.com"
}
variable "airflow_webserver_dag_orientation" {
type = string
description = "Default DAG orientation. Valid values are: LR (Left->Right), TB (Top->Bottom), RL (Right->Left), BT (Bottom->Top)."
default = "TB"
}
variable "airflow_webserver_rbac" {
type = string
description = "Turns on/off RBAC authentication on webserver. Only enabled when set to 'True'."
default = "False"
}