-
Notifications
You must be signed in to change notification settings - Fork 630
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: migrate webhook runner configuration to SSM #3728
Conversation
…-aws-github-runner into nav/chore/use-ssm
Hey guys, any idea when this is going to be merged? |
There were few comments on this PR. Addressed and tested them today. Hopefully we should be able to merge this week. |
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.
Still working on the review and test.
…-aws-github-runner into nav/chore/use-ssm
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.
A few remarks
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.
PR looks good, made a few minor comments. Can you also check the failing CI?
Co-authored-by: Niek Palm <npalm@users.noreply.github.com>
🤖 I have created a release *beep* *boop* --- ## [5.8.0](v5.7.1...v5.8.0) (2024-02-27) ### Features * Add option to set lambda memory increase webhook memory ([#3778](#3778)) ([40bceb6](40bceb6)) * migrate webhook runner configuration to SSM ([#3728](#3728)) ([32492e3](32492e3)) ### Bug Fixes * **lambda:** bump the aws group in /lambdas with 6 updates ([#3772](#3772)) ([3549bc1](3549bc1)) * **lambda:** bump the aws group in /lambdas with 6 updates ([#3783](#3783)) ([b850e85](b850e85)) * **lambda:** bump the octokit group in /lambdas with 2 updates ([#3773](#3773)) ([de9985a](de9985a)) --- 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: forest-releaser[bot] <80285352+forest-releaser[bot]@users.noreply.github.com>
This PR migrates the confugration for the webhook from environment variables to SSM to avoid the maximum size of environment variables is reached.
Implementation
The webhook will read the configuration from SSM as json string. As long the lambda is hot the configuration is cached to speed-up the lambda time. In cases of configuration changes Lambda resources will be re-created by Terraform to ensure no cached values are used.
fix: #3594