From 6db11c69210e27a59207bd1af0b8b09d78b15c9d Mon Sep 17 00:00:00 2001 From: Ryan Deivert Date: Tue, 28 Jul 2020 14:19:47 -0700 Subject: [PATCH] fixing copying of zips, since lambda layers are zips --- streamalert_cli/terraform/generate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/streamalert_cli/terraform/generate.py b/streamalert_cli/terraform/generate.py index 12ce941c3..1634c5c45 100644 --- a/streamalert_cli/terraform/generate.py +++ b/streamalert_cli/terraform/generate.py @@ -393,12 +393,12 @@ def _copy_terraform_files(config): config (CLIConfig): Loaded StreamAlert config """ # Copy the packaged terraform files to temp - # Currently this ignores *.tf.json and *.zip files, in the instance that these + # Currently this ignores *.tf.json, in the instance that these # exist in current deployments. This can be removed in a future release. shutil.copytree( TERRAFORM_FILES_PATH, config.build_directory, - ignore=shutil.ignore_patterns('*.tf.json', '*.zip') # TODO: remove this eventually + ignore=shutil.ignore_patterns('*.tf.json') # TODO: remove this eventually ) # Copy any additional user provided terraform files to temp