generated from aws-ia/.github
-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathoutputs.tf
34 lines (28 loc) · 1.01 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
output "operating_regions" {
description = "List of all IPAM operating regions."
value = local.operating_regions
}
output "pool_names" {
description = "List of all pool names."
value = concat(try(local.level_1_pool_names, []), try(local.level_2_pool_names, []), try(local.level_3_pool_names, []))
}
output "pool_level_0" {
description = "Map of all pools at level 0."
value = module.level_zero.pool
}
output "pools_level_1" {
description = "Map of all pools at level 1."
value = try({ for k, v in module.level_one : k => v.pool }, null)
}
output "pools_level_2" {
description = "Map of all pools at level 2."
value = try({ for k, v in module.level_two : k => v.pool }, null)
}
output "pools_level_3" {
description = "Map of all pools at level 3."
value = try({ for k, v in module.level_three : k => v.pool }, null)
}
output "ipam_info" {
description = "If created, ouput the IPAM object information."
value = var.create_ipam ? aws_vpc_ipam.main[0] : null
}