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

feat(lambda): Added package_path and package_s3 inputs #104

Merged
merged 4 commits into from
Mar 9, 2021

Conversation

mskrajnowski
Copy link
Collaborator

@mskrajnowski mskrajnowski commented Jan 20, 2021

  • Added package_path input to lambda and lambda/layer modules, so you can provide any zip file
  • Added package_s3 and package_s3_version inputs to lambda and lambda/layer modules, so a zip file can be added from an S3 bucket
  • Added image input to lambda module to create a lambda based on a container image
  • Deprecated files and files_dirinputs with a recommendation to build z zip using thezip` module

To do:

@@ -1,6 +1,14 @@
locals {
package_s3_match = var.package_s3 != null ? regex(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it work with key of a nested object? Probably it does :) Do you prefer this package_s3 approach rather than package_s3_bucket and package_s3_object instead?

Copy link
Collaborator Author

@mskrajnowski mskrajnowski Mar 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

converted package_s3 to a {bucket, key} object in 1c986b9

Base automatically changed from feat/lambda-layers to master March 7, 2021 18:07
@mskrajnowski mskrajnowski force-pushed the feat/lambda-sources branch from 76c00b4 to 1c986b9 Compare March 7, 2021 18:08
@mskrajnowski mskrajnowski merged commit 6ea0d63 into master Mar 9, 2021
@mskrajnowski mskrajnowski deleted the feat/lambda-sources branch March 9, 2021 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants