feat(outputs): add router output and edit descriptions

This commit is contained in:
Bertrand Lanson 2024-08-19 21:22:10 +02:00
parent 98594d22b9
commit 54f4620fc3
Signed by: lanson
SSH Key Fingerprint: SHA256:/nqc6HGqld/PS208F6FUOvZlUzTS0rGpNNwR5O2bQBw
2 changed files with 32 additions and 21 deletions

View File

@ -71,14 +71,15 @@ No modules.
| Name | Description | | Name | Description |
|------|-------------| |------|-------------|
| <a name="output_backend_network"></a> [backend_network](#output_backend_network) | description | | <a name="output_backend_network"></a> [backend_network](#output_backend_network) | The backend network object (as a list), if created |
| <a name="output_backend_secgroups"></a> [backend_secgroups](#output_backend_secgroups) | description | | <a name="output_backend_secgroups"></a> [backend_secgroups](#output_backend_secgroups) | The backend security group objects (as a list), if created |
| <a name="output_backend_subnet"></a> [backend_subnet](#output_backend_subnet) | description | | <a name="output_backend_subnet"></a> [backend_subnet](#output_backend_subnet) | The backend subnet object (as a list), if created |
| <a name="output_database_network"></a> [database_network](#output_database_network) | description | | <a name="output_database_network"></a> [database_network](#output_database_network) | The database network object (as a list), if created |
| <a name="output_database_secgroups"></a> [database_secgroups](#output_database_secgroups) | description | | <a name="output_database_secgroups"></a> [database_secgroups](#output_database_secgroups) | The database security group objects (as a list), if created |
| <a name="output_database_subnets"></a> [database_subnets](#output_database_subnets) | description | | <a name="output_database_subnet"></a> [database_subnet](#output_database_subnet) | The database subnet object (as a list), if created |
| <a name="output_frontend_network"></a> [frontend_network](#output_frontend_network) | description | | <a name="output_frontend_network"></a> [frontend_network](#output_frontend_network) | The frontend network object (as a list), if created |
| <a name="output_frontend_secgroups"></a> [frontend_secgroups](#output_frontend_secgroups) | description | | <a name="output_frontend_secgroups"></a> [frontend_secgroups](#output_frontend_secgroups) | The frontend security group objects (as a list), if created |
| <a name="output_frontend_subnet"></a> [frontend_subnet](#output_frontend_subnet) | description | | <a name="output_frontend_subnet"></a> [frontend_subnet](#output_frontend_subnet) | The frontend subnet object (as a list), if created |
| <a name="output_subnetpool"></a> [subnetpool](#output_subnetpool) | n/a | | <a name="output_router"></a> [router](#output_router) | The entire router object (as a list), if created |
| <a name="output_subnetpool"></a> [subnetpool](#output_subnetpool) | The subnetpool object (as a list), if created |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

View File

@ -1,66 +1,76 @@
output "subnetpool" { output "subnetpool" {
value = length(openstack_networking_subnetpool_v2.this) > 0 ? openstack_networking_subnetpool_v2.this.* : null value = length(openstack_networking_subnetpool_v2.this) > 0 ? openstack_networking_subnetpool_v2.this.* : null
sensitive = false
description = "The subnetpool object (as a list), if created"
depends_on = []
} }
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
description = "description" description = "The frontend network object (as a list), if created"
depends_on = [] depends_on = []
} }
output "frontend_subnet" { output "frontend_subnet" {
value = length(openstack_networking_subnet_v2.frontend) > 0 ? openstack_networking_subnet_v2.frontend.* : null value = length(openstack_networking_subnet_v2.frontend) > 0 ? openstack_networking_subnet_v2.frontend.* : null
sensitive = false sensitive = false
description = "description" description = "The frontend subnet object (as a list), if created"
depends_on = [] depends_on = []
} }
output "backend_network" { output "backend_network" {
value = length(openstack_networking_network_v2.backend) > 0 ? openstack_networking_network_v2.backend.* : null value = length(openstack_networking_network_v2.backend) > 0 ? openstack_networking_network_v2.backend.* : null
sensitive = false sensitive = false
description = "description" description = "The backend network object (as a list), if created"
depends_on = [] depends_on = []
} }
output "backend_subnet" { output "backend_subnet" {
value = length(openstack_networking_subnet_v2.backend) > 0 ? openstack_networking_subnet_v2.backend.* : null value = length(openstack_networking_subnet_v2.backend) > 0 ? openstack_networking_subnet_v2.backend.* : null
sensitive = false sensitive = false
description = "description" description = "The backend subnet object (as a list), if created"
depends_on = [] depends_on = []
} }
output "database_network" { output "database_network" {
value = length(openstack_networking_network_v2.database) > 0 ? openstack_networking_network_v2.database.* : null value = length(openstack_networking_network_v2.database) > 0 ? openstack_networking_network_v2.database.* : null
sensitive = false sensitive = false
description = "description" description = "The database network object (as a list), if created"
depends_on = [] depends_on = []
} }
output "database_subnets" { output "database_subnet" {
value = length(openstack_networking_subnet_v2.database) > 0 ? openstack_networking_subnet_v2.database.* : null value = length(openstack_networking_subnet_v2.database) > 0 ? openstack_networking_subnet_v2.database.* : null
sensitive = false sensitive = false
description = "description" description = "The database subnet object (as a list), if created"
depends_on = [] depends_on = []
} }
output "frontend_secgroups" { output "frontend_secgroups" {
value = length(openstack_networking_secgroup_v2.frontend) > 0 ? openstack_networking_secgroup_v2.frontend.* : null value = length(openstack_networking_secgroup_v2.frontend) > 0 ? openstack_networking_secgroup_v2.frontend.* : null
sensitive = false sensitive = false
description = "description" description = "The frontend security group objects (as a list), if created"
depends_on = [] depends_on = []
} }
output "backend_secgroups" { output "backend_secgroups" {
value = length(openstack_networking_secgroup_v2.backend) > 0 ? openstack_networking_secgroup_v2.backend.* : null value = length(openstack_networking_secgroup_v2.backend) > 0 ? openstack_networking_secgroup_v2.backend.* : null
sensitive = false sensitive = false
description = "description" description = "The backend security group objects (as a list), if created"
depends_on = [] depends_on = []
} }
output "database_secgroups" { output "database_secgroups" {
value = length(openstack_networking_secgroup_v2.database) > 0 ? openstack_networking_secgroup_v2.database.* : null value = length(openstack_networking_secgroup_v2.database) > 0 ? openstack_networking_secgroup_v2.database.* : null
sensitive = false sensitive = false
description = "description" description = "The database security group objects (as a list), if created"
depends_on = []
}
output "router" {
value = length(openstack_networking_router_v2.this) > 0 ? openstack_networking_router_v2.this.* : null
sensitive = false
description = "The entire router object (as a list), if created"
depends_on = [] depends_on = []
} }