forked from notablehealth/terraform-google-monitoring
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables-data.tf
More file actions
34 lines (32 loc) · 903 Bytes
/
variables-data.tf
File metadata and controls
34 lines (32 loc) · 903 Bytes
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
# Get services and recreate (there is 2 - nginx, robot-cerner-copilot)
# no gcloud
# API
# https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services/list
variable "custom_services" {
description = "List of Custom Service configuration objects"
type = list(object({
display_name = optional(string)
service_id = optional(string)
telemetry = optional(object({
resource_name = optional(string)
}))
user_labels = optional(map(string))
}))
default = []
}
variable "services" {
description = "List of Service configuration objects"
type = list(object({
basic_service = optional(object({
service_labels = optional(map(string))
service_type = optional(string) # validate
}))
display_name = string
service_id = string
user_labels = optional(map(string))
}))
default = [{
display_name = ""
service_id = ""
}]
}