From 9468626e0b47db10e7a7372d811bfee7cd02f8ef Mon Sep 17 00:00:00 2001 From: Robus Gauli Date: Mon, 4 Nov 2019 22:38:35 +0545 Subject: [PATCH] Use `join` for configmap auth file and template file in auth.tf (#26) * auth.tf: Use join for config map file * auth.tf: Fix typo for local variable * auth.tf: Format auth module --- auth.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth.tf b/auth.tf index c93c2882..5b30acc5 100644 --- a/auth.tf +++ b/auth.tf @@ -27,8 +27,8 @@ locals { certificate_authority_data_map = local.certificate_authority_data_list_internal[0] certificate_authority_data = local.certificate_authority_data_map["data"] - configmap_auth_template_file = "${path.module}/configmap-auth.yaml.tpl" - configmap_auth_file = "${path.module}/configmap-auth.yaml" + configmap_auth_template_file = join("/", [path.module, "configmap-auth.yaml.tpl"]) + configmap_auth_file = join("/", [path.module, "configmap-auth.yaml"]) cluster_name = join("", aws_eks_cluster.default.*.id)