From 7502240f7ebcb0902eee9aeb7b284bdf83849dfd Mon Sep 17 00:00:00 2001 From: Marques Johansson Date: Wed, 3 Mar 2021 13:14:32 -0500 Subject: [PATCH] fix template/ path that is not module safe Signed-off-by: Marques Johansson --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index d2a047b..b29440e 100644 --- a/main.tf +++ b/main.tf @@ -146,7 +146,7 @@ data "template_file" "deploy_anthos_cluster" { } data "template_file" "pre_reqs_worker" { - template = file("templates/pre_reqs_worker.sh") + template = file("${path.module}/templates/pre_reqs_worker.sh") vars = { operating_system = var.operating_system }