Skip to content

Commit

Permalink
OPS-6673-mongodb-add-output (#31)
Browse files Browse the repository at this point in the history
Add UUID of the cluster to the outputs of the module (needed for managing the users in ansible).

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
YannickEvers and github-actions[bot] authored Jul 12, 2024
1 parent 9247696 commit 74af620
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/ionos-mongodb-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
| Name | Description |
|------|-------------|
| <a name="output_connection_string"></a> [connection\_string](#output\_connection\_string) | The URL pointing to your cluster. |
| <a name="output_uuid"></a> [uuid](#output\_uuid) | The UUID of the cluster. |
## Requirements

| Name | Version |
Expand Down
4 changes: 4 additions & 0 deletions modules/ionos-mongodb-cluster/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ output "connection_string" {
description = "The URL pointing to your cluster."
value = ionoscloud_mongo_cluster.mongo_cluster.connection_string
}
output "uuid" {
description = "The UUID of the cluster."
value = ionoscloud_mongo_cluster.mongo_cluster.id
}

0 comments on commit 74af620

Please sign in to comment.