From aaf64296ca8b62f7d640b349f2f3fa9b84b4ea11 Mon Sep 17 00:00:00 2001 From: Hardy Ferentschik Date: Fri, 3 Apr 2020 12:23:26 +0200 Subject: [PATCH] fix: making sure to use right variable for path to template file fixes #56 --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 0c760d2..3245fdd 100644 --- a/main.tf +++ b/main.tf @@ -183,7 +183,7 @@ module "dns" { // Let's generate jx-requirements.yml // ---------------------------------------------------------------------------- resource "local_file" "jx-requirements" { - content = templatefile("${path.cwd}/modules/jx-requirements.yaml.tpl", { + content = templatefile("${path.module}/modules/jx-requirements.yaml.tpl", { gcp_project = var.gcp_project zone = var.zone cluster_name = local.cluster_name