-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
27 lines (18 loc) · 998 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
###########
# Outputs #
###########
output "output_message" {
value = <<EOT
Congrats!
In a few seconds (cloud-init run in your servers), you can access your asciinema server and register at:
http://${var.asciinema_server_subdomain}.${var.asciinema_server_domain_apex}
To connect to the DB server: ssh ${var.username}@${local.db_server_public_ip}
To connect to the asciinema server: ssh ${var.username}@${local.asciinema_server_public_ip}
Your private network ${openstack_networking_network_v2.asciinema_private_network.name} has 1 subnet: ${local.private_subnet_cidr}.
- asciinema server has private IP ${local.asciinema_server_private_ip}
- DB server has private IP ${local.db_server_private_ip}
To register, you can visit http://${var.asciinema_server_subdomain}.${var.asciinema_server_domain_apex}
To upload your record to your server using the asciinema client:
ASCIINEMA_API_URL=http://${var.asciinema_server_subdomain}.${var.asciinema_server_domain_apex} asciinema rec
EOT
}