-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
36 lines (32 loc) · 1.66 KB
/
outputs.tf
File metadata and controls
36 lines (32 loc) · 1.66 KB
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
output "management_server_url" {
value = "https://${try(google_compute_instance.mx_instance.network_interface[0].access_config[0].nat_ip, google_compute_instance.mx_instance.network_interface[0].network_ip)}:8083"
depends_on = [
# The Management Server URL should be made accessible only once the auto-FTL has finished
time_sleep.await_mx_ftl
]
description = "The URL to access the WAF Management Server user interface. Use this URL to log in with the admin user and the password you provided."
}
output "management_server_ip" {
value = google_compute_instance.mx_instance.network_interface[0].network_ip
depends_on = [
# The Management Server IP should be made accessible only once the auto-FTL has finished
time_sleep.await_mx_ftl
]
description = "The internal IP address of the WAF Management Server instance. Use this IP to register Gateways to your Management Server."
}
output "management_server_external_ip" {
value = try(google_compute_instance.mx_instance.network_interface[0].access_config[0].nat_ip, "")
depends_on = [
# The Management Server External IP should be made accessible only once the auto-FTL has finished
time_sleep.await_mx_ftl
]
description = "The external IP address of the WAF Management Server instance. Use this IP to access the Management Server from outside the VPC network."
}
output "network_tag" {
value = local.mx_tag
description = "The network tag assigned to the Management Server instance. Use this tag to allow traffic from Gateways to the Management Server."
}
output "instance_name" {
value = google_compute_instance.mx_instance.name
description = "The name of the WAF Management Server instance."
}