Skip to content

Commit

Permalink
fix(google_gke): making k8s_api_proxy_dns_name conditional (#228)
Browse files Browse the repository at this point in the history
* making k8s_api_proxy_dns_name conditional

* chore(google_gke): allowing for empty k8s_api_proxy_dns_name
  • Loading branch information
cvalaas authored Sep 17, 2024
1 parent 4e6e29d commit 48c73e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google_gke/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ output "service_account" {

output "k8s_api_proxy_dns_name" {
description = "K8s api proxy dns record"
value = google_dns_record_set.k8s_api_proxy_dns_name[0].name
value = var.enable_k8s_api_proxy_ip ? google_dns_record_set.k8s_api_proxy_dns_name[0].name : "N/A"
}

0 comments on commit 48c73e3

Please sign in to comment.