-
Notifications
You must be signed in to change notification settings - Fork 9
/
appdynamics_variables.tf
106 lines (86 loc) · 2.91 KB
/
appdynamics_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
105
106
# Refer to the docs for a detailed description of the variables - https://docs.appdynamics.com/display/latest/Java+Agent+Configuration+Properties
variable "APPDYNAMICS_CONTROLLER_HOST_NAME" {
type = string
description = "The controller host name without http(s) or port number."
validation {
condition = length(var.APPDYNAMICS_CONTROLLER_HOST_NAME) > 4 && substr(var.APPDYNAMICS_CONTROLLER_HOST_NAME, 0, 4) != "http"
error_message = "The APPDYNAMICS_CONTROLLER_HOST_NAME value must NOT be empty or null, and must not contain http(s)."
}
}
variable "APPDYNAMICS_CONTROLLER_PORT" {
type = string
default = "443"
}
variable "APPDYNAMICS_CONTROLLER_SSL_ENABLED" {
type = bool
default = true
}
variable "APPDYNAMICS_AGENT_APPLICATION_NAME" {
type = string
validation {
condition = length(var.APPDYNAMICS_AGENT_APPLICATION_NAME) > 0
error_message = "The APPDYNAMICS_AGENT_APPLICATION_NAME value must NOT be empty or null."
}
}
variable "APPDYNAMICS_AGENT_TIER_NAME" {
type = string
validation {
condition = length(var.APPDYNAMICS_AGENT_TIER_NAME) > 0
error_message = "The APPDYNAMICS_AGENT_TIER_NAME value must NOT be empty or null."
}
}
variable "APPDYNAMICS_AGENT_ACCOUNT_NAME" {
type = string
description = "The AppDynamics controller account name."
validation {
condition = length(var.APPDYNAMICS_AGENT_ACCOUNT_NAME) > 0
error_message = "The APPDYNAMICS_AGENT_ACCOUNT_NAME value must NOT be empty or null."
}
}
variable "APPDYNAMICS_AGENT_REUSE_NODE_NAME_PREFIX" {
type = string
}
variable "APPDYNAMICS_AGENT_REUSE_NODE_NAME" {
type = bool
default = true
}
variable "APPDYNAMICS_EVENTS_API_URL" {
type = string
validation {
condition = length(var.APPDYNAMICS_EVENTS_API_URL) > 4 && substr(var.APPDYNAMICS_EVENTS_API_URL, 0, 4) == "http"
error_message = "The APPDYNAMICS_EVENTS_API_URL value contain the full URL string and port number, for example: 'https://<host>:9080' ."
}
}
variable "APPDYNAMICS_GLOBAL_ACCOUNT_NAME" {
type = string
validation {
condition = length(var.APPDYNAMICS_GLOBAL_ACCOUNT_NAME) > 0
error_message = "The APPDYNAMICS_GLOBAL_ACCOUNT_NAME value must NOT be empty or null."
}
}
variable "CORECLR_ENABLE_PROFILING" {
type = string
default = "1"
}
variable "CORECLR_PROFILER" {
type = string
default = "{57e1aa68-2229-41aa-9931-a6e93bbc64d8}"
}
variable "CORECLR_PROFILER_PATH" {
type = string
default = "/opt/appdynamics-agent/dotnet/libappdprofiler.so"
}
variable "APPDYNAMICS_AGENT_ACCOUNT_ACCESS_KEY" {
type = string
validation {
condition = length(var.APPDYNAMICS_AGENT_ACCOUNT_ACCESS_KEY) > 0
error_message = "The APPDYNAMICS_AGENT_ACCOUNT_ACCESS_KEY value must NOT be empty or null."
}
sensitive = true # valid in TF >= 0.14
}
variable "APPDYNAMICS_AGENT_IMAGE" {
type = string
}
variable "APPDYNAMICS_AGENT_CONTAINER_NAME" {
type = string
}