-
Notifications
You must be signed in to change notification settings - Fork 4
/
outputs.tf
57 lines (47 loc) · 1.95 KB
/
outputs.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
output "launch_template_id" {
description = "The ID of the launch template"
value = join("", aws_launch_template.on_demand[*].id, aws_launch_template.spot[*].id)
}
output "launch_template_arn" {
description = "The ARN of the launch template"
value = join("", aws_launch_template.on_demand[*].arn, aws_launch_template.spot[*].arn)
}
output "autoscaling_group_id" {
description = "The autoscaling group id"
value = join("", aws_autoscaling_group.on_demand[*].id)
}
output "autoscaling_group_name" {
description = "The autoscaling group name"
value = join("", aws_autoscaling_group.on_demand[*].name)
}
output "autoscaling_group_arn" {
description = "The ARN for this AutoScaling Group"
value = join("", aws_autoscaling_group.on_demand[*].arn)
}
output "autoscaling_group_min_size" {
description = "The minimum size of the autoscale group"
value = join("", aws_autoscaling_group.on_demand[*].min_size)
}
output "autoscaling_group_max_size" {
description = "The maximum size of the autoscale group"
value = join("", aws_autoscaling_group.on_demand[*].max_size)
}
output "autoscaling_group_desired_capacity" {
description = "The number of Amazon EC2 instances that should be running in the group"
value = join("", aws_autoscaling_group.on_demand[*].desired_capacity)
}
output "autoscaling_group_default_cooldown" {
description = "Time between a scaling activity and the succeeding scaling activity"
value = join("", aws_autoscaling_group.on_demand[*].default_cooldown)
}
output "autoscaling_group_health_check_grace_period" {
description = "Time after instance comes into service before checking health"
value = join(
"",
aws_autoscaling_group.on_demand[*].health_check_grace_period,
)
}
output "autoscaling_group_health_check_type" {
description = "`EC2` or `ELB`. Controls how health checking is done"
value = join("", aws_autoscaling_group.on_demand[*].health_check_type)
}