generated from jx3-gitops-repositories/jx3-terraform-azure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tf
52 lines (51 loc) · 2.56 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
47
48
49
50
51
52
module "cluster" {
source = "github.com/jenkins-x-terraform/terraform-jx-azure?ref=v0.6.1"
apex_domain_integration_enabled = var.apex_domain_integration_enabled
apex_domain = var.apex_domain
subdomain = var.subdomain
apex_resource_group_name = var.apex_resource_group_name
dns_resource_group_name = var.dns_resource_group_name
cluster_name = var.cluster_name
cluster_network_model = var.cluster_network_model
cluster_node_resource_group_name = var.cluster_node_resource_group_name
cluster_resource_group_name = var.cluster_resource_group_name
cluster_version = var.cluster_version
enable_log_analytics = var.enable_log_analytics
jx_bot_token = var.jx_bot_token
jx_git_url = var.jx_git_url
jx_bot_username = var.jx_bot_username
server_side_apply_enabled = var.server_side_apply_enabled
key_vault_enabled = var.key_vault_enabled
key_vault_name = var.key_vault_name
key_vault_resource_group_name = var.key_vault_resource_group_name
key_vault_sku = var.key_vault_sku
location = var.location
logging_retention_days = var.logging_retention_days
network_name = var.network_name
network_resource_group_name = var.network_resource_group_name
node_count = var.node_count
node_size = var.node_size
storage_resource_group_name = var.storage_resource_group_name
subnet_cidr = var.subnet_cidr
subnet_name = var.subnet_name
vnet_cidr = var.vnet_cidr
registry_resource_group_name = var.registry_resource_group_name
use_existing_acr_name = var.use_existing_acr_name
use_existing_acr_resource_group_name = var.use_existing_acr_resource_group_name
}
output "connect" {
description = "Connect to cluster"
value = module.cluster.connect
}
output "follow_install_logs" {
description = "Follow Jenkins X install logs"
value = "jx admin log"
}
output "docs" {
description = "Follow Jenkins X 3.x docs for more information"
value = "https://jenkins-x.io/v3/"
}
output "kube_config_admin" {
value = module.cluster.kube_config_admin
sensitive = true
}