Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

outputs.tf 779 Bytes
Newer Older
Kenny Moore's avatar
Kenny Moore committed
1
2
3
4
5
6
7
output "project_id" {
  value = google_project.gcp_project.project_id
}

output "prefix" {
  value = var.prefix
}
8
9
10

output "billing_id" {
  value = var.billing_id
Kenny Moore's avatar
Kenny Moore committed
11
12
13
14
15
16
17
18
19
}

output "default_vpc_name"{
  value = google_compute_network.default_vpc.name
}

output "default_vpc_self_link"{
  value = google_compute_network.default_vpc.self_link
}
Kenny Moore's avatar
Kenny Moore committed
20
21
22
23
24

output "default_vpc_id"{
  value = google_compute_network.default_vpc.id
}

Kenny Moore's avatar
Kenny Moore committed
25
output "default_subnets"{
Kenny Moore's avatar
Kenny Moore committed
26
27
  value = {for k, v in google_compute_subnetwork.default_subnet : k => v.name}
  # value = values(google_compute_subnetwork.default_subnet)[*]["name"]
28
29
30
31
32
33
34
35
36
37
}

output "vpn_password" {
    sensitive = true
    value = var.vpn == true ? module.vpn[0].vpn_password : ""
}

output "vpn_cidr" {
  value = var.vpn == true ? module.vpn[0].vpn_cidr : ""
}