forked from f5devcentral/terraform-google-f5-bigip-ha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
34 lines (30 loc) · 958 Bytes
/
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
output "self_links" {
value = { for k, v in module.instances : v.name => v.self_link }
description = <<-EOD
A map of BIG-IP instance name to fully-qualified self-links.
EOD
}
output "names" {
value = [for k, v in module.instances : v.name]
description = <<-EOD
The instance names of the BIG-IPs.
EOD
}
output "mgmtPublicIPs" {
value = { for k, v in module.instances : v.name => v.mgmtPublicIP }
description = <<-EOD
A map of BIG-IP instance name to public IP address, if any, on the management interface.
EOD
}
output "target_groups" {
value = [for k, v in google_compute_instance_group.group : v.self_link]
description = <<-EOD
A list of fully-qualified BIG-IP unmanaged instance group self-links.
EOD
}
output "target_instances" {
value = [for k, v in google_compute_target_instance.target : v.self_link]
description = <<-EOD
A list of fully-qualified target instance self-links for the BIG-IPs.
EOD
}