Skip to content

Commit

Permalink
Merge pull request #26 from claranet/ajj/add-cluster-id-output
Browse files Browse the repository at this point in the history
Add output for the RDS Cluster ID
  • Loading branch information
russwhelan authored Dec 12, 2018
2 parents e7492e5 + bbffb39 commit 899f38d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,5 +215,6 @@ resource "aws_rds_cluster_parameter_group" "aurora_cluster_postgres96_parameter_
|------|-------------|
| all_instance_endpoints_list | Comma separated list of all DB instance endpoints running in cluster |
| cluster_endpoint | The 'writer' endpoint for the cluster |
| cluster_identifier | The ID of the RDS Cluster |
| reader_endpoint | A read-only endpoint for the Aurora cluster, automatically load-balanced across replicas |

5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ output "all_instance_endpoints_list" {
output "reader_endpoint" {
value = "${aws_rds_cluster.default.reader_endpoint}"
}

// The ID of the RDS Cluster
output "cluster_identifier" {
value = "${aws_rds_cluster.default.id}"
}

0 comments on commit 899f38d

Please sign in to comment.