mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-28 20:21:48 +01:00
Fix deprecated interpolation-only expression (#594)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
resource "local_file" "kubeconfig" {
|
||||
count = var.write_kubeconfig ? 1 : 0
|
||||
content = data.template_file.kubeconfig.rendered
|
||||
filename = "${substr(var.config_output_path, -1, 1) == "/" ? "${var.config_output_path}kubeconfig_${var.cluster_name}" : var.config_output_path}"
|
||||
filename = substr(var.config_output_path, -1, 1) == "/" ? "${var.config_output_path}kubeconfig_${var.cluster_name}" : var.config_output_path
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user