forked from chkp-dhouari/Cloudguard-Terraform-Jenkins-IaC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput.tf
67 lines (51 loc) · 1.73 KB
/
output.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
output "autoscale_output" {
value = module.autoscale
}
output "autoscale-autoscaling_group_arn" {
value = module.autoscale.autoscale-autoscaling_group_arn
}
output "autoscale-autoscaling_group_id" {
value = module.autoscale.autoscale-autoscaling_group_id
}
output "autoscale-autoscaling_group_name" {
value = module.autoscale.autoscale-autoscaling_group_name
}
output "autoscale-launch_configuration_id" {
value = module.autoscale.autoscale-launch_configuration_id
}
output "autoscale-security_group" {
value = module.autoscale.autoscale-security_group
}
output "autoscale-iam_role_name" {
value = module.autoscale.autoscale-iam_role_name
}
output "autoscale-autoscaling_group_subnets" {
value = module.autoscale.autoscale-autoscaling_group_subnets
}
output "autoscale-autoscaling_group_availability_zones" {
value = module.autoscale.autoscale-autoscaling_group_availability_zones
}
output "autoscale-autoscaling_group_max_size" {
value = module.autoscale.autoscale-autoscaling_group_max_size
}
output "autoscale-autoscaling_group_min_size" {
value = module.autoscale.autoscale-autoscaling_group_min_size
}
output "autoscale-autoscaling_group_desired_capacity" {
value = module.autoscale.autoscale-autoscaling_group_desired_capacity
}
output "autoscale-autoscaling_group_load_balancers" {
value = module.autoscale.autoscale-autoscaling_group_load_balancers
}
output "autoscale-autoscaling_group_target_group_arns" {
value = module.autoscale.autoscale-autoscaling_group_target_group_arns
}
data "aws_instances" "asg_instances" {
filter {
name = "tag:aws:autoscaling:groupName"
values = [module.autoscale.autoscale-autoscaling_group_name]
}
}
output "autoscale_instances" {
value = data.aws_instances.asg_instances
}