- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 338
feat: allow instrumentation of Termination lambda #1255
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
Conversation
Hey @kayman-mk! 👋 Thank you for your contribution to the project. Please refer to the contribution rules for a quick overview of the process. Make sure that this PR clearly explains:
With submitting this PR you confirm that you hold the rights of the code added and agree that it will published under this LICENSE. The following ChatOps commands are supported:
Simply add a comment with the command in the first line. If you need to pass more information, separate it with a blank line from the command. This message was generated automatically. You are welcome to improve it. |
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
🤖 I have created a release *beep* *boop* --- ## [9.1.0](9.0.2...9.1.0) (2025-02-27) ### Features * allow instrumentation of Termination lambda ([#1255](#1255)) ([55af1d1](55af1d1)) ### Bug Fixes * allow terminate Lambda to access kms key ([#1253](#1253)) ([48c5a37](48c5a37)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: cattle-ops-releaser-2[bot] <134548870+cattle-ops-releaser-2[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
This PR adds the possibility to instrument the internal Lambda function, e.g. with APM tools. Use the following variables:
runner_terminate_ec2_lambda_handler
to replace thehandler
with your functionrunner_terminate_ec2_environment_variables
to add environment variables. The special value{HANDLER}
is automatically replaced by the internal handler name to be able to call the "real" handlerrunner_terminate_ec2_lambda_handler_layer_arns
to add additional layers to the Lambda functionrunner_terminate_ec2_lambda_egress_rules
to allow traffic to external systems. IPv4/6 port 443 is the default