-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.tf
56 lines (42 loc) · 1.63 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
53
54
55
output "customer" {
value = "${var.customer}"
}
output "customer environment" {
value = "${var.environment}"
}
output "customer fqdn" {
value = "${concat(var.ext_lb_name,".",var.environment,".",var.customer,".",var.domain_base)}"
}
output "customer nameservers" {
value = "${aws_route53_zone.environment.name_servers.0}, ${aws_route53_zone.environment.name_servers.1}, ${aws_route53_zone.environment.name_servers.2}, ${aws_route53_zone.environment.name_servers.3}"
}
output "load balancer members" {
value = "${openstack_compute_instance_v2.appl1.network.0.fixed_ip_v4} ${openstack_compute_instance_v2.appl2.network.0.fixed_ip_v4}"
}
output "load balancer public address" {
value = "${openstack_compute_floatingip_v2.float1.address}"
}
output "application servers https working test" {
value = "https://${openstack_compute_floatingip_v2.float1.address}/working.html"
}
output "application server 1 address" {
value = "${openstack_compute_floatingip_v2.float2.address}"
}
output "application server 2 address" {
value = "${openstack_compute_floatingip_v2.float3.address}"
}
output "db server 1 address" {
value = "${openstack_compute_floatingip_v2.float4.address}"
}
output "monitor server 1 address" {
value = "${openstack_compute_floatingip_v2.float5.address}"
}
output "monitor server login" {
value = "ssh ubuntu@${openstack_compute_floatingip_v2.float5.address} -i ~/.ssh/id_rsa.terraform"
}
output "windows server 1 address" {
value = "${openstack_compute_floatingip_v2.float6.address}"
}
output "windows server get password" {
value = "nova --insecure get-password win1 ~/.ssh/id_rsa.terraform"
}