feat(outputs): add simple outputs name and id

This commit is contained in:
Bertrand Lanson 2024-04-11 23:50:55 +02:00
parent fdccdc31cf
commit a56ae99bdf
2 changed files with 13 additions and 1 deletions

View File

@ -40,5 +40,8 @@ No modules.
### Outputs
No outputs.
| Name | Description |
|------|-------------|
| <a name="output_id"></a> [id](#output_id) | The id of the security group |
| <a name="output_name"></a> [name](#output_name) | The name of the security group |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

View File

@ -0,0 +1,9 @@
output "name" {
value = openstack_networking_secgroup_v2.this.name
description = "The name of the security group"
}
output "id" {
value = openstack_networking_secgroup_v2.this.id
description = "The id of the security group"
}