2018-12-16 06:48:08 +01:00
|
|
|
output "kubeconfig-admin" {
|
2019-09-15 01:24:32 +02:00
|
|
|
value = module.bootstrap.kubeconfig-admin
|
2018-12-16 06:48:08 +01:00
|
|
|
}
|
|
|
|
|
2018-08-28 06:30:26 +02:00
|
|
|
# Outputs for Kubernetes Ingress
|
|
|
|
|
|
|
|
output "ingress_static_ipv4" {
|
2019-05-28 06:43:08 +02:00
|
|
|
value = azurerm_public_ip.ingress-ipv4.ip_address
|
2018-08-28 06:30:26 +02:00
|
|
|
description = "IPv4 address of the load balancer for distributing traffic to Ingress controllers"
|
|
|
|
}
|
|
|
|
|
|
|
|
# Outputs for worker pools
|
|
|
|
|
|
|
|
output "region" {
|
2019-05-28 06:43:08 +02:00
|
|
|
value = azurerm_resource_group.cluster.location
|
2018-08-28 06:30:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
output "resource_group_name" {
|
2019-05-28 06:43:08 +02:00
|
|
|
value = azurerm_resource_group.cluster.name
|
2018-08-28 06:30:26 +02:00
|
|
|
}
|
|
|
|
|
2019-10-31 09:05:04 +01:00
|
|
|
output "resource_group_id" {
|
|
|
|
value = azurerm_resource_group.cluster.id
|
|
|
|
}
|
|
|
|
|
2018-08-28 06:30:26 +02:00
|
|
|
output "subnet_id" {
|
2019-05-28 06:43:08 +02:00
|
|
|
value = azurerm_subnet.worker.id
|
2018-08-28 06:30:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
output "security_group_id" {
|
2019-05-28 06:43:08 +02:00
|
|
|
value = azurerm_network_security_group.worker.id
|
2018-08-28 06:30:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
output "kubeconfig" {
|
2019-09-15 01:24:32 +02:00
|
|
|
value = module.bootstrap.kubeconfig-kubelet
|
2018-08-28 06:30:26 +02:00
|
|
|
}
|
2019-04-08 03:04:02 +02:00
|
|
|
|
|
|
|
# Outputs for custom firewalling
|
|
|
|
|
|
|
|
output "worker_security_group_name" {
|
2019-05-28 06:43:08 +02:00
|
|
|
value = azurerm_network_security_group.worker.name
|
2019-04-08 03:04:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
output "worker_address_prefix" {
|
|
|
|
description = "Worker network subnet CIDR address (for source/destination)"
|
2019-05-28 06:43:08 +02:00
|
|
|
value = azurerm_subnet.worker.address_prefix
|
2019-04-08 03:04:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
# Outputs for custom load balancing
|
|
|
|
|
|
|
|
output "loadbalancer_id" {
|
|
|
|
description = "ID of the cluster load balancer"
|
2019-05-28 06:43:08 +02:00
|
|
|
value = azurerm_lb.cluster.id
|
2019-04-08 03:04:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
output "backend_address_pool_id" {
|
|
|
|
description = "ID of the worker backend address pool"
|
2019-05-28 06:43:08 +02:00
|
|
|
value = azurerm_lb_backend_address_pool.worker.id
|
2019-04-08 03:04:02 +02:00
|
|
|
}
|
2020-10-17 23:41:26 +02:00
|
|
|
|
|
|
|
# Outputs for debug
|
|
|
|
|
|
|
|
output "assets_dist" {
|
|
|
|
value = module.bootstrap.assets_dist
|
|
|
|
}
|
|
|
|
|