1
0
mirror of https://github.com/terraform-aws-modules/terraform-aws-eks.git synced 2025-09-09 19:32:58 +08:00

Update flag name to create_eks

This commit is contained in:
Tomislav Tomašić
2019-11-20 12:59:39 +00:00
committed by Tomislav Tomasic
parent 96bb368b20
commit 8e1526b868
6 changed files with 35 additions and 35 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
resource "local_file" "kubeconfig" {
count = var.write_kubeconfig && var.create_cluster ? 1 : 0
count = var.write_kubeconfig && var.create_eks ? 1 : 0
content = data.template_file.kubeconfig[0].rendered
filename = "${substr(var.config_output_path, -1, 1) == "/" ? "${var.config_output_path}kubeconfig_${var.cluster_name}" : var.config_output_path}"
}