-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tf
46 lines (43 loc) · 1.98 KB
/
main.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
module "jx" {
source = "github.com/jenkins-x/terraform-google-jx?ref=v1.11.6"
gcp_project = var.gcp_project
master_authorized_networks = var.master_authorized_networks
jx2 = false
gsm = var.gsm
cluster_name = var.cluster_name
cluster_location = var.cluster_location
resource_labels = var.resource_labels
node_machine_type = var.node_machine_type
initial_cluster_node_count = var.initial_cluster_node_count
initial_primary_node_pool_node_count = var.initial_primary_node_pool_node_count
autoscaler_min_node_count = var.autoscaler_min_node_count
autoscaler_max_node_count = var.autoscaler_max_node_count
node_disk_size = var.node_disk_size
node_disk_type = var.node_disk_type
tls_email = var.tls_email
lets_encrypt_production = var.lets_encrypt_production
jx_git_url = var.jx_git_url
jx_bot_username = var.jx_bot_username
jx_bot_token = var.jx_bot_token
force_destroy = var.force_destroy
delete_protect = var.delete_protect
apex_domain = var.apex_domain
subdomain = var.subdomain
apex_domain_gcp_project = var.apex_domain_gcp_project
apex_domain_integration_enabled = var.apex_domain_integration_enabled
node_preemptible = var.node_preemptible
kuberhealthy = var.kuberhealthy
node_spot = var.node_spot
}
output "connect" {
description = "Connect to cluster"
value = module.jx.connect
}
output "follow_install_logs" {
description = "Follow Jenkins X install logs"
value = "jx admin log"
}
output "docs" {
description = "Follow Jenkins X 3.x alpha docs for more information"
value = "https://jenkins-x.io/v3/"
}