v1.496.0
cloudposse-releaser
released this
19 Sep 21:38
·
62 commits
to refs/heads/main
since this release
Lamdba Component Update @Benbentwo (#1115)
what
- Removed unused variables (the module never used several)
- Added several
trigger_{type}.tf
files to support Triggering the lambda via- S3
- SQS
- CronJob (Cloudwatch Event)
- Updated module to latest
- Added lookup support for bucket where code is stored via remote state lookup - or hardcoded bucket name.
why
- Module version was behind - several variables were planned to be used but never implemented.
- Triggers are commonly needed for lambdas, so we should bake a few into the component - eventually maybe these go to their own module
- Tried to keep backwards compatibility with all types (
files / zip
,image
ands3 bucket
) - Removed formatting of bucket name in favor of component lookup. Formatting made bucket lookup in another region or stage difficult. Escape hatch of bucket_name still exists