-
Notifications
You must be signed in to change notification settings - Fork 21
/
outputs.tf
32 lines (28 loc) · 951 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
31
32
output "ui" {
sensitive = false
value = "http://${google_compute_instance.yugabyte_node.0.network_interface.0.access_config.0.nat_ip}:7000"
}
output "ssh_user" {
sensitive = false
value = "${var.ssh_user}"
}
output "ssh_key" {
sensitive = false
value = "${var.ssh_private_key}"
}
output "JDBC" {
sensitive =false
value = "postgresql://yugabyte@${google_compute_instance.yugabyte_node.0.network_interface.0.access_config.0.nat_ip}:5433"
}
output "YSQL"{
sensitive = false
value = "ysqlsh -U yugabyte -h ${google_compute_instance.yugabyte_node.0.network_interface.0.access_config.0.nat_ip} -p 5433"
}
output "YCQL"{
sensitive = false
value = "ycqlsh ${google_compute_instance.yugabyte_node.0.network_interface.0.access_config.0.nat_ip} 9042"
}
output "YEDIS"{
sensitive = false
value = "redis-cli -h ${google_compute_instance.yugabyte_node.0.network_interface.0.access_config.0.nat_ip} -p 6379"
}