Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix copying of terraform to include zips for lambda layers #1279

Merged
merged 1 commit into from
Jul 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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