mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-29 21:51:51 +02:00
Added handling for disabled kubeconfig
This commit is contained in:
@@ -41,7 +41,7 @@ output "kubeconfig" {
|
|||||||
|
|
||||||
output "kubeconfig_filename" {
|
output "kubeconfig_filename" {
|
||||||
description = "The filename of the generated kubectl config."
|
description = "The filename of the generated kubectl config."
|
||||||
value = "${local_file.kubeconfig.*.filename}"
|
value = "${element(concat(local_file.kubeconfig.*.filename, list("")), 0)}"
|
||||||
}
|
}
|
||||||
|
|
||||||
output "workers_asg_arns" {
|
output "workers_asg_arns" {
|
||||||
|
|||||||
Reference in New Issue
Block a user