-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathoutputs.tf
More file actions
168 lines (168 loc) · 7.15 KB
/
outputs.tf
File metadata and controls
168 lines (168 loc) · 7.15 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
output "current_type" {
description = "Current instance size and family"
value = local.cur_type
}
output "recommended_type" {
description = "Densify recommended instance size and family"
value = local.rec_type
}
output "savings_estimate" {
description = "The potential monthly savings from modifying the current instance to the Densify recommended instance"
value = local.savings
}
output "predicted_uptime" {
description = "The predicted percentage of CPU utilization hours over the duration of a month"
value = local.p_uptime
}
output "implementation_method" {
description = "Is the system configured to allow automation or manual recommendations"
value = local.implementation_method
}
output "current_cpu_request" {
description = "Current CPU request for the Kubernetes container"
value = local.cur_cpu_request
}
output "recommended_cpu_request" {
description = "Recommended CPU request for the Kubernetes container"
value = local.rec_cpu_request
}
output "current_cpu_limit" {
description = "Current CPU limit for the Kubernetes container"
value = local.cur_cpu_limit
}
output "recommended_cpu_limit" {
description = "Recommended CPU limit for the Kubernetes container"
value = local.rec_cpu_limit
}
output "current_mem_request" {
description = "Current memory request for the Kubernetes container"
value = local.cur_mem_request
}
output "recommended_mem_request" {
description = "Recommended memory request for the Kubernetes container"
value = local.rec_mem_request
}
output "current_mem_limit" {
description = "Current memory limit for the Kubernetes container"
value = local.cur_mem_limit
}
output "recommended_mem_limit" {
description = "Recommended memory limit for the Kubernetes container"
value = local.rec_mem_limit
}
output "instance_type" {
description = "The instance size and family to be implemented, which is either the current size or the Densify recommendation, depending on the automation policy and the approval status (if approval is enabled)"
value = local.instance_type
}
output "cpu_request" {
description = "The CPU request to be implemented, which is either the current CPU request or the Densify recommendation, depending on the automation policy and the approval status (if approval is enabled)"
value = local.cpu_request
}
output "cpu_limit" {
description = "The CPU limit to be implemented, which is either the current CPU limit or the Densify recommendation, depending on the automation policy and the approval status (if approval is enabled)"
value = local.cpu_limit
}
output "mem_request" {
description = "The memory request to be implemented, which is either the current memory request or the Densify recommendation, depending on the automation policy and the approval status (if approval is enabled)"
value = local.mem_request
}
output "mem_limit" {
description = "The memory limit to be implemented, which is either the current memory limit or the Densify recommendation, depending on the automation policy and the approval status (if approval is enabled)"
value = local.mem_limit
}
output "min_group_current" {
description = "The current minimum group size of the ASG"
value = local.min_group_current
}
output "min_group_recommended" {
description = "The recommended minimum group size of the ASG"
value = local.min_group_recommended
}
output "max_group_current" {
description = "The current maximum group size of the ASG"
value = local.max_group_current
}
output "max_group_recommended" {
description = "The recommended maximum group size of the ASG"
value = local.max_group_recommended
}
output "min_group" {
description = "The minimum group size to be implemented, which is either the current minimum group size or the Densify recommended minimum group size depending on the automation policy and approval status (if approval is enabled)"
value = local.min_group
}
output "max_group" {
description = "The maximum group size to be implemented, which is either the current maximum group size or the Densify recommended maximum group size depending on the automation policy and approval status (if approval is enabled)"
value = local.max_group
}
output "avg_inst_count_recommended" {
description = "The predicted average number of instances running in the ASG if the recommendations are implemented"
value = local.avg_inst_count_recommended
}
output "current_desired_capacity" {
description = "The current desired number of instances running in the ASG group"
value = local.current_desired_capacity
}
output "desired_capacity" {
description = "The desired capacity to be implemented, which is either the current desired capacity or the recommended average instance count (rounded down) depending on the automation policy and approval status (if approval is enabled)"
value = local.desired_capacity
}
output "display_name" {
description = "The display name of the container, which is combination of the pod or service name and container name"
value = local.display_name
}
output "cluster" {
description = "The name of the cluster with the running container"
value = local.cluster
}
output "namespace" {
description = "The namespace of the running container"
value = local.namespace
}
output "pod_service" {
description = "The pod or service name of the running container. If the container is running in a single pod, then the pod name is displayed. If the container is part of a service, such as a Replication Controller or a Replica Set, then the service name is displayed"
value = local.pod_service
}
output "container" {
description = "The name of the container"
value = local.container
}
output "controller_type" {
description = "The type of controller"
value = local.controller_type
}
output "current_size" {
description = "The current number of copies of the controller that are running. Will be 1 for individual pods"
value = local.current_size
}
output "approval_type" {
description = "The type of approval for this system (NA, All, Specific size)"
value = local.appr_type
}
output "recommendation_type" {
description = "The type of recommendation (upsize, downsize, resize, just right)"
value = local.recommendation_type
}
output "effort" {
description = "The effort rating for implementing the recommendation"
value = local.effort
}
output "policy" {
description = "The policy that is used in the analysis"
value = local.policy
}
output "power_state" {
description = "The power state of the instance"
value = local.power_state
}
output "defer_recommendation" {
description = "Defer recommending an instance type change until reserved instance coverage for this instance expires"
value = local.defer_recommendation
}
output "defer_until" {
description = "If deferRecommendation = yes, then the expiry date of the RI providing coverage for the current instance is returned"
value = local.defer_until
}
output "avg_inst_count_current" {
description = "The current average number of instances running in the ASG"
value = local.avg_inst_count_current
}