forked from cloudposse/terraform-aws-rds-cluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
44 lines (36 loc) · 1.23 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
output "name" {
value = "${join("", aws_rds_cluster.default.*.database_name)}"
description = "Database name"
}
output "user" {
value = "${join("", aws_rds_cluster.default.*.master_username)}"
description = "Username for the master DB user"
}
output "password" {
value = "${join("", aws_rds_cluster.default.*.master_password)}"
description = "Password for the master DB user"
}
output "cluster_name" {
value = "${join("", aws_rds_cluster.default.*.cluster_identifier)}"
description = "Cluster Identifier"
}
output "arn" {
value = "${join("", aws_rds_cluster.default.*.arn)}"
description = "Amazon Resource Name (ARN) of cluster"
}
output "endpoint" {
value = "${join("", aws_rds_cluster.default.*.endpoint)}"
description = "The DNS address of the RDS instance"
}
output "reader_endpoint" {
value = "${join("", aws_rds_cluster.default.*.reader_endpoint)}"
description = "A read-only endpoint for the Aurora cluster, automatically load-balanced across replicas"
}
output "master_host" {
value = "${module.dns_master.hostname}"
description = "DB Master hostname"
}
output "replicas_host" {
value = "${module.dns_replicas.hostname}"
description = "Replicas hostname"
}