generated from oracle-quickstart/oci-quickstart-template
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathautoscaling_variables.tf
81 lines (68 loc) · 2.11 KB
/
autoscaling_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
# Copyright (c) 2023,2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.
variable "enable_autoscaling_alarms" {
type = bool
description = "Indicating autoscaling alarms state"
default = true
}
variable "use_autoscaling" {
type = bool
description = "Indicating that autoscaling is enabled"
default = false
}
variable "notification_email" {
type = string
description = "Email address for notifying user when autoscaling completes"
default = ""
}
variable "alarm_severity" {
type = string
description = "The perceived type of response required when the alarm is in the FIRING state"
default = "CRITICAL"
}
variable "min_threshold_percent" {
type = number
description = "Minimum threshold in percentage for the metric"
default = 0
}
variable "max_threshold_percent" {
type = number
description = "Maximum threshold in percentage for the metric"
default = 0
}
variable "min_threshold_counter" {
type = number
description = "Minimum threshold count for the metric"
default = 0
}
variable "max_threshold_counter" {
type = number
description = "Maximum threshold count for the metric"
default = 0
}
variable "wls_metric" {
type = string
description = "Metric to use for triggering scaling actions. Default is CPU Load"
default = "CPU Load"
}
variable "ocir_region" {
type = string
description = "URL to Oracle Cloud Infrastructure Registry"
default = ""
}
variable "ocir_user" {
type = string
description = "User for Oracle Cloud Infrastructure Registry login"
default = ""
}
# Variable used in UI only
variable "ocir_auth_token_compartment_id" {
type = string
description = "The OCID of the compartment of the vault secret with the OCIR authorization token"
default = ""
}
variable "ocir_auth_token_id" {
type = string
description = "Secrets Oracle Cloud ID (OCID) for Oracle Cloud Infrastructure Registry authorization token"
default = ""
}