From 32573639e325675a67b4ff89f356185043252216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Sol=C3=B3rzano-Hamilton?= Date: Mon, 31 Dec 2018 17:07:24 -0800 Subject: [PATCH] Revert "Try to workaround path issue #2" This reverts commit 237d4fe16a0790df17bf30c549d7c5c8d5c0dbde. --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 11cbfa08..0ca24103 100644 --- a/main.tf +++ b/main.tf @@ -40,7 +40,7 @@ data "null_data_source" "lambda_file" { data "null_data_source" "lambda_archive" { inputs { - filename = "notify_slack.zip" # Try to work around hard-coded module path failure + filename = "${substr("${path.module}/functions/notify_slack.zip", length(path.cwd) + 1, -1)}" } }