diff --git a/README.md b/README.md index 478bc69..af5fc01 100644 --- a/README.md +++ b/README.md @@ -80,4 +80,5 @@ No modules. | [frontend_network](#output_frontend_network) | description | | [frontend_secgroups](#output_frontend_secgroups) | description | | [frontend_subnet](#output_frontend_subnet) | description | +| [subnetpool](#output_subnetpool) | n/a | diff --git a/outputs.tf b/outputs.tf index 30b7ff0..45b09d6 100644 --- a/outputs.tf +++ b/outputs.tf @@ -1,3 +1,7 @@ +output "subnetpool" { + value = length(openstack_networking_subnetpool_v2.this) > 0 ? openstack_networking_subnetpool_v2.this.* : null +} + output "frontend_network" { value = length(openstack_networking_network_v2.frontend) > 0 ? openstack_networking_network_v2.frontend.* : null sensitive = false