Skip to content

Commit

Permalink
fixing copying of zips, since lambda layers are zips (#1279)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandeivert authored Jul 28, 2020
1 parent 9041efa commit 89f1017
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions streamalert_cli/terraform/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 89f1017

Please sign in to comment.