-
Notifications
You must be signed in to change notification settings - Fork 13
/
output.tf
28 lines (24 loc) · 1.15 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
output "aviatrix_firenet" {
description = "The Aviatrix firenet object with all of it's attributes"
value = aviatrix_firenet.firenet
}
output "aviatrix_firewall_instance" {
description = "A list with the created firewall instances and their attributes"
value = (
local.is_aviatrix ? #Evaluate local.is_aviatrix
concat(aviatrix_gateway.egress_instance_1.*, aviatrix_gateway.egress_instance_2.*) #Output if local.is_aviatrix is true
: #
concat(aviatrix_firewall_instance.firewall_instance_1.*, aviatrix_firewall_instance.firewall_instance_2.*) #Output if local.is_aviatrix is false
)
}
output "management_vpc" {
value = local.cloud == "gcp" && local.is_palo ? aviatrix_vpc.management_vpc[0] : null #Only created for Palo Alto deployments in GCP
}
output "egress_vpc" {
value = local.cloud == "gcp" ? aviatrix_vpc.egress_vpc[0] : null #Only created in GCP
}
output "module_metadata" {
value = {
version = "1.6.0"
}
}