forked from cloudposse/terraform-aws-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
106 lines (89 loc) · 2.94 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
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
variable "region" {
type = string
description = "AWS Region"
}
variable "alert_tags" {
type = list(string)
description = "List of alert tags to add to all alert messages, e.g. `[\"@opsgenie\"]` or `[\"@devops\", \"@opsgenie\"]`"
default = null
}
variable "alert_tags_separator" {
type = string
description = "Separator for the alert tags. All strings from the `alert_tags` variable will be joined into one string using the separator and then added to the alert message"
default = "\n"
}
variable "local_datadog_monitors_config_paths" {
type = list(string)
description = "List of paths to local Datadog monitor configurations"
default = []
}
variable "remote_datadog_monitors_config_paths" {
type = list(string)
description = "List of paths to remote Datadog monitor configurations"
default = []
}
variable "remote_datadog_monitors_base_path" {
type = string
description = "Base path to remote Datadog monitor configurations"
default = ""
}
variable "datadog_monitors_config_parameters" {
type = map(any)
description = "Map of parameters to Datadog monitor configurations"
default = {}
}
variable "secrets_store_type" {
type = string
description = "Secret store type for Datadog API and app keys. Valid values: `SSM`, `ASM`"
default = "SSM"
}
variable "datadog_api_secret_key" {
type = string
description = "The key of the Datadog API secret"
default = "datadog/datadog_api_key"
}
variable "datadog_app_secret_key" {
type = string
description = "The key of the Datadog Application secret"
default = "datadog/datadog_app_key"
}
variable "role_paths" {
type = list(string)
description = "List of paths to Datadog role configurations"
default = []
}
variable "monitors_roles_map" {
type = map(set(string))
description = "Map of Datadog monitor names to a set of Datadog role names to restrict access to the monitors"
default = {}
}
variable "datadog_secrets_source_store_account" {
type = string
description = "Account (stage) holding Secret Store for Datadog API and app keys."
default = "corp"
}
variable "datadog_monitor_globals" {
type = any
description = "Global parameters to add to each monitor"
default = {}
}
variable "datadog_monitor_context_tags_enabled" {
type = bool
description = "Whether to add context tags to each monitor"
default = true
}
variable "datadog_monitor_context_tags" {
type = set(string)
description = "List of context tags to add to each monitor"
default = ["namespace", "tenant", "environment", "stage"]
}
variable "message_prefix" {
type = string
description = "Additional information to put before each monitor message"
default = ""
}
variable "message_postfix" {
type = string
description = "Additional information to put after each monitor message"
default = ""
}