diff --git a/README.md b/README.md index 2af5850..49d3d6a 100644 --- a/README.md +++ b/README.md @@ -151,6 +151,7 @@ Terraform documentation is generated automatically using [pre-commit hooks](http | this\_rds\_cluster\_arn | The ID of the cluster | | this\_rds\_cluster\_database\_name | Name for an automatically created database on cluster creation | | this\_rds\_cluster\_endpoint | The cluster endpoint | +| this\_rds\_cluster\_hosted\_zone\_id | Route53 hosted zone id of the created cluster | | this\_rds\_cluster\_id | The ID of the cluster | | this\_rds\_cluster\_instance\_endpoints | A list of all cluster instance endpoints | | this\_rds\_cluster\_instance\_ids | A list of all cluster instance ids | diff --git a/outputs.tf b/outputs.tf index 402a74f..4866e51 100644 --- a/outputs.tf +++ b/outputs.tf @@ -46,6 +46,11 @@ output "this_rds_cluster_master_username" { value = aws_rds_cluster.this.master_username } +output "this_rds_cluster_hosted_zone_id" { + description = "Route53 hosted zone id of the created cluster" + value = aws_rds_cluster.this.hosted_zone_id +} + // aws_rds_cluster_instance output "this_rds_cluster_instance_endpoints" { description = "A list of all cluster instance endpoints"