feat(outputs): add subnetpool in outputs

This commit is contained in:
Bertrand Lanson 2024-04-07 17:43:26 +02:00
parent b1eb7a3e67
commit 14edfaf0a5
2 changed files with 5 additions and 0 deletions

View File

@ -80,4 +80,5 @@ No modules.
| <a name="output_frontend_network"></a> [frontend_network](#output_frontend_network) | description | | <a name="output_frontend_network"></a> [frontend_network](#output_frontend_network) | description |
| <a name="output_frontend_secgroups"></a> [frontend_secgroups](#output_frontend_secgroups) | description | | <a name="output_frontend_secgroups"></a> [frontend_secgroups](#output_frontend_secgroups) | description |
| <a name="output_frontend_subnet"></a> [frontend_subnet](#output_frontend_subnet) | description | | <a name="output_frontend_subnet"></a> [frontend_subnet](#output_frontend_subnet) | description |
| <a name="output_subnetpool"></a> [subnetpool](#output_subnetpool) | n/a |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

View File

@ -1,3 +1,7 @@
output "subnetpool" {
value = length(openstack_networking_subnetpool_v2.this) > 0 ? openstack_networking_subnetpool_v2.this.* : null
}
output "frontend_network" { output "frontend_network" {
value = length(openstack_networking_network_v2.frontend) > 0 ? openstack_networking_network_v2.frontend.* : null value = length(openstack_networking_network_v2.frontend) > 0 ? openstack_networking_network_v2.frontend.* : null
sensitive = false sensitive = false