forked from cloudposse/terraform-aws-documentdb-cluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
49 lines (40 loc) · 1.42 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
45
46
47
48
49
output "master_username" {
value = join("", aws_docdb_cluster.default.*.master_username)
description = "Username for the master DB user"
}
output "cluster_name" {
value = join("", aws_docdb_cluster.default.*.cluster_identifier)
description = "Cluster Identifier"
}
output "arn" {
value = join("", aws_docdb_cluster.default.*.arn)
description = "Amazon Resource Name (ARN) of the cluster"
}
output "endpoint" {
value = join("", aws_docdb_cluster.default.*.endpoint)
description = "Endpoint of the DocumentDB cluster"
}
output "reader_endpoint" {
value = join("", aws_docdb_cluster.default.*.reader_endpoint)
description = "A read-only endpoint of the DocumentDB 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 = "DB replicas hostname"
}
output "security_group_id" {
description = "ID of the DocumentDB cluster Security Group"
value = join("", aws_security_group.default.*.id)
}
output "security_group_arn" {
description = "ARN of the DocumentDB cluster Security Group"
value = join("", aws_security_group.default.*.arn)
}
output "security_group_name" {
description = "Name of the DocumentDB cluster Security Group"
value = join("", aws_security_group.default.*.name)
}