-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvariables.tf
100 lines (81 loc) · 2.04 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
//===========================================
// variables for Classic infra structure
//===========================================
variable "iaas_classic_username" {
description = "Classic IaaS username."
type = string
}
variable "iaas_classic_api_key" {
description = "Classic IaaS API Key."
type = string
}
variable "ssh_key" {
description = "SSH key to add to instance."
type = string
}
variable "datacenter" {
description = "Default datacenter for LBaaS and web instances."
type = string
}
variable "lbaas_name"{
description = "lbaas instance name"
type = string
}
variable "instance_count" {
description = "Number of instances"
type = number
}
// =====================================================
variable "minimum_vm_count" {
default = 3
description = "Minumum VMs to be maintained with Load balancer"
}
variable "namespace" {
description = "Name space where cloud function is defined"
}
variable "action_name" {
default = "autoscaleaction"
description = "Name of the action"
}
variable "api_key" {
description = "API Key to perform the schematics operations"
}
variable "vm_count"{
default = 0
description = "default value for the vm count parameter"
}
//|======================================================|
//| sysdig-monitor-config vrariables |
//|======================================================|
variable "resource_group_name"{
type = string
}
variable "instance_name"{
type = string
}
variable "location"{
type = string
}
variable "scale_up_alert_name"{
description = "sysdig alert name"
default = "lb-load-scale-up-alert"
}
variable "scale_down_alert_name"{
type = string
default = "lb-load-scale-down-alert"
}
variable "scale_up_alerts_config"{
type = list(map(string))
default = []
}
variable "scaledown_lower_threshold"{
type = number
default = 0
}
variable "scaledown_upper_threshold"{
type = number
default = 5
}
variable "number_of_scale_up_alerts" {
default = 3
}