Skip to content

Commit

Permalink
Add output for the RDS Cluster ID
Browse files Browse the repository at this point in the history
Adds an output for the RDS Cluster ID.
  • Loading branch information
bashton-ajenkins committed Dec 12, 2018
1 parent e7492e5 commit bbffb39
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 bbffb39

Please sign in to comment.