generated from opsd-io/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
52 lines (43 loc) · 1.62 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
50
51
52
output "cluster_id" {
description = "The ID of the database cluster."
value = digitalocean_database_cluster.main.id
}
output "cluster_host" {
description = "Database cluster's hostname."
value = digitalocean_database_cluster.main.host
}
output "cluster_private_host" {
description = "Same as host, but only accessible from resources within the account and in the same region."
value = digitalocean_database_cluster.main.private_host
}
output "cluster_port" {
description = "Network port that the database cluster is listening on."
value = digitalocean_database_cluster.main.port
}
output "cluster_main_uri" {
description = "The full URI for connecting to the database cluster."
value = digitalocean_database_cluster.main.uri
sensitive = true
}
output "cluster_private_uri" {
description = "Same as uri, but only accessible from resources within the account and in the same region."
value = digitalocean_database_cluster.main.private_uri
sensitive = true
}
output "cluster_default_database" {
description = "Name of the cluster's default database."
value = digitalocean_database_cluster.main.database
}
output "cluster_default_user" {
description = "Username for the cluster's default user."
value = digitalocean_database_cluster.main.user
}
output "cluster_default_user_password" {
description = "Password for the cluster's default user."
value = digitalocean_database_cluster.main.password
sensitive = true
}
output "firewall_id" {
description = "A unique identifier for the firewall."
value = digitalocean_database_firewall.main.id
}