-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoutputs.tf
30 lines (25 loc) · 880 Bytes
/
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
output "cluster_certificate" {
description = "PEM Certificate of the database instance."
value = scaleway_rdb_instance.this.certificate
}
output "instance_id" {
description = "ID of the Database Instance."
value = scaleway_rdb_instance.this.id
}
output "instance_ip" {
description = "Database instance IP"
value = scaleway_rdb_instance.this.private_network[*].ip
}
output "load_balancer" {
description = "List of load balancer endpoints of the database instance."
value = scaleway_rdb_instance.this.load_balancer
}
output "replicate_pn" {
description = "Private network attributes of the read replica."
value = scaleway_rdb_read_replica.this[*].private_network
}
output "user_password" {
description = "Password generated if non were given."
sensitive = true
value = try(random_password.this[0].result, null)
}