-
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
Update the security header Lambda's runtime to Node 18 #738
Conversation
We recently received an email from AWS stating that they are dropping support for Node 16 in mid-2024. Now that we are using version 4.9 of the Terraform AWS provider, we can upgrade to Node 18. When we move to the latest version of the Terraform AWS provider, we will be able to upgrade to at least Node 20.
@dav3r - I have a strong memory of you creating something that needed this sort of Lambda@Edge sauce too, but I couldn't find it. If you have such Terraform out there, and it's running Node 16, then you should upgrade it similarly. |
This lifecycle block no longer applies because we have upgrades to Terraform AWS provider version 4.9.
@cisagov/team-ois - Aargh! This change has broken the |
Hi Team, I am noticing the following issues, please ensure that these are resolved:
Thanks |
@dv4harr10 - None of these points has anything to do with the changes in this PR, but we still want to capture them. Can you create an issue in this repo for each of these four points? |
I think you are probably talking about cisagov/publish-egress-ip-terraform#6, which stalled out due to lack of interest from the intended beneficiaries, hence it was never merged and deployed to Production. |
@mcdonnnj created #742 to address the issues you encountered. |
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.
👍 ⚙️ 🚀
🗣 Description
This pull request updates the security header Lambda's runtime from Node 16 to Node 18.
💭 Motivation and context
We recently received an email from AWS Lambda stating that they are dropping support for Node 16 in mid-2024. Now that we are using version 4.9 of the Terraform AWS provider, we can upgrade our Lambda runtime to Node 18. When we move to the latest version of the Terraform AWS provider, we will be able to upgrade the runtime to at least Node 20.
🧪 Testing
I tested this in the most brütal fashion - by deploying it to production.
✅ Pre-approval checklist