forked from cloudandthings/terraform-aws-github-runners
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
36 lines (30 loc) · 1.04 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
/*
output "aws_autoscaling_group_arn" {
description = "The Auto Scaling Group ARN."
value = flatten(aws_autoscaling_group.this[*].arn)
}
output "security_groups" {
description = "The Security Groups associated with EC2 instances."
value = local.security_groups
}
output "aws_launch_template_arn" {
description = "The EC2 launch template."
value = aws_launch_template.this.arn
}
*/
output "software_packs" {
description = "List of software packs that were installed."
value = flatten(module.software_packs[*].software_packs)
}
output "aws_instance_id" {
description = "Instance ID (when `scaled_mode=single-instance`)"
value = concat([for x in aws_instance.this : x.id], [""])[0]
}
output "aws_instance_public_ip" {
description = "Instance public IP (when `scaled_mode=single-instance`)"
value = concat([for x in aws_instance.this : x.public_ip], [""])[0]
}
output "per_instance_runner_count" {
description = "Effective per instance runner count."
value = local.per_instance_runner_count
}