From 97b845d7b5a540ce5d7fd2adcccfecb349fb55b1 Mon Sep 17 00:00:00 2001 From: Jim Park Date: Tue, 28 Apr 2020 10:35:52 -0700 Subject: [PATCH] fix: unable to load slowlog_check.1.0.0.zip: no such file or directory supply working_dir to null_resource --- main.tf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index d3752b2..d925413 100644 --- a/main.tf +++ b/main.tf @@ -94,9 +94,10 @@ resource aws_security_group egress { tags = var.tags } -resource null_resource get_slowlog_archive { +resource null_resource get_slowlog_check_archive { provisioner local-exec { - command = "wget https://github.com/scribd/elasticache-slowlog-to-datadog/releases/download/v1.0.0/slowlog_check.1.0.0.zip" + command = "wget https://github.com/scribd/elasticache-slowlog-to-datadog/releases/download/v1.0.0/slowlog_check.1.0.0.zip" + working_dir = path.module } }