-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvariables.tf
100 lines (83 loc) · 2.35 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
/*
Copyright 2022 Chainguard, Inc.
SPDX-License-Identifier: Apache-2.0
*/
variable "name" {
type = string
description = "Name to prefix to created resources."
}
variable "project_id" {
type = string
description = "The project that will host the prober."
}
variable "repository" {
type = string
default = ""
description = "Container repository to publish images to."
}
variable "service_account" {
type = string
description = "The email address of the service account to run the service as."
}
variable "importpath" {
type = string
description = "The import path that contains the prober application."
}
variable "working_dir" {
type = string
description = "The working directory that contains the importpath."
}
variable "locations" {
type = list(string)
default = ["us-central1"]
description = "Where to run the Cloud Run services."
}
variable "dns_zone" {
type = string
default = ""
description = "The managed DNS zone in which to create prober record sets (required for multiple locations)."
}
variable "domain" {
type = string
default = ""
description = "The domain of the environment to probe (required for multiple locations)."
}
variable "env" {
default = {}
description = "A map of custom environment variables (e.g. key=value)"
}
variable "timeout" {
type = string
default = "60s"
description = "The timeout for the prober in seconds."
}
variable "period" {
type = string
default = "300s"
description = "The period for the prober in seconds."
}
variable "cpu" {
type = string
default = "1000m"
description = "The CPU limit for the prober."
}
variable "memory" {
type = string
default = "512Mi"
description = "The memory limit for the prober."
}
variable "enable_alert" {
type = bool
default = false
description = "If true, alert on failures. Outputs will return the alert ID for notification and dashboards."
}
variable "alert_description" {
type = string
default = "An uptime check has failed."
description = "Alert documentation. Use this to link to playbooks or give additional context."
}
variable "notification_channels" {
type = list(string)
default = []
description = "A list of notification channels to send alerts to."
}