-
-
Notifications
You must be signed in to change notification settings - Fork 343
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: Add variable to allow disabling the package timestamp trigger #233
feat: Add variable to allow disabling the package timestamp trigger #233
Conversation
I will rebase and fix this - this simplifies my change as well, since the latest commit bumps the lambda version to nearly the same thing I had! |
ec94dba
to
0765d88
Compare
Should be good for review now! |
## [6.5.0](v6.4.1...v6.5.0) (2024-09-03) ### Features * Add variable to allow disabling the package timestamp trigger ([#233](#233)) ([b3016e2](b3016e2))
This PR is included in version 6.5.0 🎉 |
Thank you! |
…raform-aws-notify-slack into INF-2667 * 'master' of https://github.com/terraform-aws-modules/terraform-aws-notify-slack: chore(release): version 6.5.0 [skip ci] feat: Add variable to allow disabling the package timestamp trigger (terraform-aws-modules#233) chore(release): version 6.4.1 [skip ci] fix: Update `aws_sns_topic_subscription` endpoint to use qualified arn (terraform-aws-modules#231) chore(release): version 6.4.0 [skip ci] feat: Improved AWS backup notification readability (terraform-aws-modules#222) chore(release): version 6.3.0 [skip ci] feat: Update Python lambda runtime from `3.8` to `3.11` (terraform-aws-modules#225) chore(release): version 6.2.0 [skip ci] feat: Added architecture variable (terraform-aws-modules#224) chore(release): version 6.1.2 [skip ci] fix: Correct assume role permissions for SNS service to assume IAM role (terraform-aws-modules#220) chore(release): version 6.1.1 [skip ci] fix: Update CI workflow versions to remove deprecated runtime warnings (terraform-aws-modules#218)
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
This adds a variable (default false) for triggering an update of the underlying lambda based on the timestamp of the underlying file
Motivation and Context
This fixes the case where this module is used and automatically planned/applied from CI, where the source is freshly copied/cloned - currently, the module will always attempt to update the lambda in this case!
Fixes #232
Breaking Changes
This does bump the underlyingterraform-aws-modules/terraform-aws-lambda
version from3.2.0
->6.7.0
(the minimum that supports this option) - but the only breaking changes I can see from that are that onlyterraform >= 1
is supported, and it requires a slightly newer AWS providerThis originally bumped the version of the lambda module from
3.2.0
->6.7.0
- but master has changed to6.8.0
!How Has This Been Tested?
I have used this in my fork of the repo to deploy a few times within my CI pipelines
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request