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)!: create lambda from a container image #105

Merged
merged 11 commits into from
Jun 10, 2021

Conversation

mskrajnowski
Copy link
Collaborator

@mskrajnowski mskrajnowski commented Jan 20, 2021

Requires AWS provider 3.19+, which sadly contains hashicorp/terraform-provider-aws#15952. Added some workaround suggestions to lambda module's readme.

Breaking Changes:

  • the lambda module now requires AWS provider 3.19+

@mskrajnowski mskrajnowski changed the base branch from master to feat/lambda-sources January 20, 2021 10:20
@mskrajnowski mskrajnowski changed the base branch from feat/lambda-sources to master January 20, 2021 10:20
@mskrajnowski mskrajnowski changed the base branch from master to feat/lambda-sources January 20, 2021 10:20
lambda/README.md Outdated
* `image` (`string`, default: `null`)

URI of a container image with the Lambda's source. Either `package_path`, `package_s3` or `image` is required.

* `layer_qualified_arns` (`list(string)`, default: `[]`)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can Lambda layers coexist with the container based function? If not, should we care about some validation for this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'd expect AWS to throw an error if you try to use an image along with lambda layers, but haven't tested that yet.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed in 46c2f69

@mskrajnowski mskrajnowski force-pushed the feat/lambda-sources branch from 76c00b4 to 1c986b9 Compare March 7, 2021 18:08
Base automatically changed from feat/lambda-sources to master March 9, 2021 13:51
@mskrajnowski mskrajnowski force-pushed the feat/lambda-image branch 2 times, most recently from c6f5b31 to e6e45ea Compare March 9, 2021 14:08
@mskrajnowski mskrajnowski changed the title feat(lambda): create lambda from a container image feat(lambda)!: create lambda from a container image Jun 10, 2021
@mskrajnowski mskrajnowski merged commit ccabfcf into master Jun 10, 2021
@mskrajnowski mskrajnowski deleted the feat/lambda-image branch June 10, 2021 13:45
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