mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-25 18:49:33 +01:00
189487ecaa
* Replace v0.11 bracket type hints with Terraform v0.12 list expressions * Use expression syntax instead of interpolated strings, where suggested * Update Azure tutorial and worker pools documentation * Define Terraform and plugin version requirements in versions.tf * Require azurerm ~> 1.27 to support Terraform v0.12 * Require ct ~> 0.3.2 to support Terraform v0.12
57 lines
1.3 KiB
HCL
57 lines
1.3 KiB
HCL
output "kubeconfig-admin" {
|
|
value = module.bootkube.kubeconfig-admin
|
|
}
|
|
|
|
# Outputs for Kubernetes Ingress
|
|
|
|
output "ingress_static_ipv4" {
|
|
value = azurerm_public_ip.ingress-ipv4.ip_address
|
|
description = "IPv4 address of the load balancer for distributing traffic to Ingress controllers"
|
|
}
|
|
|
|
# Outputs for worker pools
|
|
|
|
output "region" {
|
|
value = azurerm_resource_group.cluster.location
|
|
}
|
|
|
|
output "resource_group_name" {
|
|
value = azurerm_resource_group.cluster.name
|
|
}
|
|
|
|
output "subnet_id" {
|
|
value = azurerm_subnet.worker.id
|
|
}
|
|
|
|
output "security_group_id" {
|
|
value = azurerm_network_security_group.worker.id
|
|
}
|
|
|
|
output "kubeconfig" {
|
|
value = module.bootkube.kubeconfig-kubelet
|
|
}
|
|
|
|
# Outputs for custom firewalling
|
|
|
|
output "worker_security_group_name" {
|
|
value = azurerm_network_security_group.worker.name
|
|
}
|
|
|
|
output "worker_address_prefix" {
|
|
description = "Worker network subnet CIDR address (for source/destination)"
|
|
value = azurerm_subnet.worker.address_prefix
|
|
}
|
|
|
|
# Outputs for custom load balancing
|
|
|
|
output "loadbalancer_id" {
|
|
description = "ID of the cluster load balancer"
|
|
value = azurerm_lb.cluster.id
|
|
}
|
|
|
|
output "backend_address_pool_id" {
|
|
description = "ID of the worker backend address pool"
|
|
value = azurerm_lb_backend_address_pool.worker.id
|
|
}
|
|
|