forked from gitpod-io/terraform-google-ona-runner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
50 lines (41 loc) · 1.71 KB
/
outputs.tf
File metadata and controls
50 lines (41 loc) · 1.71 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
output "proxy_ip" {
description = "IP address of the runner proxy"
value = var.loadbalancer_type == "external" ? google_compute_global_address.proxy_ip[0].address : google_compute_address.proxy_internal_ip[0].address
}
output "load_balancer_backend_services" {
description = "Name of the proxy VM"
value = var.loadbalancer_type == "external" ? google_compute_backend_service.proxy[0].name : google_compute_region_backend_service.proxy_internal[0].name
}
output "load_balancer_ip" {
description = "IP address of the runner proxy"
value = var.loadbalancer_type == "external" ? google_compute_global_address.proxy_ip[0].address : google_compute_address.proxy_internal_ip[0].address
}
output "runner_instance_group_name" {
description = "Name of the runner VM instance gruop manager"
value = google_compute_region_instance_group_manager.runner.name
}
output "proxy_instance_group_name" {
description = "Name of the proxy VM instance gruop manager"
value = google_compute_region_instance_group_manager.proxy.name
}
output "runner_service_account_email" {
description = "Service account of runner"
value = local.runner_sa_email
}
output "proxy_service_account_email" {
description = "Service account of the proxy VM"
value = local.proxy_vm_sa_email
}
output "environment_vm_service_account_email" {
description = "Service account of environment VM"
value = local.environment_vm_sa_email
}
output "auth_proxy_tls_cert" {
description = "TLS certificate for the auth proxy (for VM trust)"
value = tls_self_signed_cert.auth_proxy.cert_pem
sensitive = true
}
output "logs_url" {
description = "Dashboard URL of logs explorer"
value = local.logs_url
}