-
Notifications
You must be signed in to change notification settings - Fork 33
/
variables.tf
105 lines (86 loc) · 2.68 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
/**
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
variable "project" {
description = "The GCP project that will be used for GCVE monitoring"
type = string
}
variable "vm_mon_name" {
description = "GCE VM name where GCVE monitoring agent will run"
type = string
}
variable "vm_mon_type" {
description = "GCE VM machine type"
type = string
default = "e2-small"
}
variable "vm_mon_zone" {
description = "GCP zone where GCE VM will be deployed"
type = string
}
variable "subnetwork" {
description = "Subnetwork where the VM will be deployed to"
type = string
}
variable "sa_gcve_monitoring" {
description = "Service account for GCVE monitoring agent"
type = string
}
variable "secret_vsphere_server" {
type = string
description = "The secret name conatining the FQDN of the vSphere vCenter server"
}
variable "secret_vsphere_user" {
type = string
description = "The secret name containing the user for the vCenter server. Must be an admin user"
}
variable "secret_vsphere_password" {
type = string
description = "The secret name containing the password for the vCenter admin user"
}
variable "gcve_region" {
description = "Region where the Private Cloud is deployed"
type = string
}
variable "hc_interval_sec" {
description = "Healthcheck interval in seconds"
type = number
default = 5
}
variable "hc_timeout_sec" {
description = "Healthcheck timeout in seconds"
type = number
default = 5
}
variable "hc_healthy_threshold" {
description = "How many consecutive success checks to consider the VM as healthy"
type = number
default = 2
}
variable "hc_unhealthy_threshold" {
description = "How many consecutive success checks to consider the VM as unhealthy"
type = number
default = 2
}
variable "initial_delay_sec" {
description = "How long to delay checking for healthcheck upon initialization"
type = number
default = 180
}
variable "create_dashboards" {
description = "Define if sample GCVE monitoring dashboards should be installed"
type = bool
default = true
}