-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
46 lines (39 loc) · 1.06 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
variable "pagerduty_token" {
type = string
description = "PagerDuty API token"
}
locals {
teams = jsondecode(file("teams.json"))
users = { for row in csvdecode(file("./users.csv")) : lower(row.key) => {
name = row.name
email = lower(row.email)
role = lower(row.role)
job_title = row.job_title
country_code = row.country_code
phone = row.phone
sms = row.sms
}
}
}
variable "pagerduty_service_region" {
type = string
description = "PagerDuty service region"
default = "us" # Default US region. Supported value: eu.
}
variable "pagerduty_subdomain" {
type = string
description = "PagerDuty subdomain for configuring the Datadog integration"
}
variable "datadog_api_key" {
type = string
description = "Datadog API Key"
}
variable "datadog_app_key" {
type = string
description = "Datadog APP Key"
}
variable "datadog_domain" {
type = string
description = "Datadog Domain"
default = "api.datadoghq.com" # Or api.datadoghq.eu
}