mirror of
https://github.com/2martens/terraform.git
synced 2026-10-17 18:26:50 +02:00
Added outputs for the ip addresses pointing to the api server
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
output "api_server_ipv4_address" {
|
||||
value = var.create_loadbalancer ? hcloud_load_balancer.kubernetes.ipv4 : hcloud_server.manager[0].ipv4_address
|
||||
}
|
||||
|
||||
output "api_server_ipv6_address" {
|
||||
value = var.create_loadbalancer ? hcloud_load_balancer.kubernetes.ipv6 : hcloud_server.manager[0].ipv6_address
|
||||
}
|
||||
Reference in New Issue
Block a user