-
Notifications
You must be signed in to change notification settings - Fork 4
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
Conversation
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: `[]`) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in 46c2f69
76c00b4
to
1c986b9
Compare
This reverts commit 746c740.
c6f5b31
to
e6e45ea
Compare
e6e45ea
to
e611b19
Compare
minimizes the impact of hashicorp/terraform-provider-aws#15952
so you can disable publishing versions, eg. as a workaround for the perpetual diff problem
as a workaround for the perpetual diff problem
image
input tolambda
publish
input tolambda
, which let's you disable version publishing as a workaround for [REGRESSION] v3.13.0 causes perpetual diff of resources containing lambda version number hashicorp/terraform-provider-aws#15952rds/postgres/management_lambda
since we don't really need it to be versionedlambda
module so that it only adds avpc_config
block when needed as another workaround for [REGRESSION] v3.13.0 causes perpetual diff of resources containing lambda version number hashicorp/terraform-provider-aws#15952Requires AWS provider 3.19+, which sadly contains hashicorp/terraform-provider-aws#15952. Added some workaround suggestions to
lambda
module's readme.Breaking Changes:
lambda
module now requires AWS provider 3.19+