diff --git a/modules/ionos-mongodb-cluster/README.md b/modules/ionos-mongodb-cluster/README.md index a588cf0..1568db0 100644 --- a/modules/ionos-mongodb-cluster/README.md +++ b/modules/ionos-mongodb-cluster/README.md @@ -38,6 +38,7 @@ | Name | Description | |------|-------------| | [connection\_string](#output\_connection\_string) | The URL pointing to your cluster. | +| [uuid](#output\_uuid) | The UUID of the cluster. | ## Requirements | Name | Version | diff --git a/modules/ionos-mongodb-cluster/output.tf b/modules/ionos-mongodb-cluster/output.tf index 29f83fd..865e462 100644 --- a/modules/ionos-mongodb-cluster/output.tf +++ b/modules/ionos-mongodb-cluster/output.tf @@ -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 +}