forked from jenkins-x/terraform-google-jx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
output.tf
70 lines (56 loc) · 2.01 KB
/
output.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
output "gcp_project" {
description = "The GCP project in which the resources got created"
value = var.gcp_project
}
output "cluster_location" {
description = "The location of the created Kubernetes cluster"
value = var.cluster_location
}
output "cluster_name" {
description = "The name of the created Kubernetes cluster"
value = local.cluster_name
}
output "log_storage_url" {
description = "The URL to the bucket for log storage"
value = module.cluster.log_storage_url
}
output "report_storage_url" {
description = "The URL to the bucket for report storage"
value = module.cluster.report_storage_url
}
output "repository_storage_url" {
description = "The URL to the bucket for artifact storage"
value = module.cluster.repository_storage_url
}
output "vault_bucket_url" {
description = "The URL to the bucket for secret storage"
value = length(module.vault) > 0 ? module.vault[0].vault_bucket_url : ""
}
output "backup_bucket_url" {
description = "The URL to the bucket for backup storage"
value = module.backup.backup_bucket_url
}
output "tekton_sa_email" {
description = "The Tekton service account email address, useful to provide further IAM bindings"
value = module.cluster.tekton_sa_email
}
output "tekton_sa_name" {
description = "The Tekton service account name, useful to provide further IAM bindings"
value = module.cluster.tekton_sa_name
}
output "jx_requirements" {
description = "The jx-requirements rendered output"
value = local.content
}
output "connect" {
description = "The cluster connection string to use once Terraform apply finishes"
value = "gcloud container clusters get-credentials ${local.cluster_name} --zone ${var.cluster_location} --project ${var.gcp_project}"
}
output "externaldns_ns" {
description = "ExternalDNS nameservers"
value = module.dns.externaldns_ns
}
output "externaldns_dns_name" {
description = "ExternalDNS name"
value = module.dns.externaldns_dns_name
}