Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Use Node.js 18 Lambda runtime by default #814

Merged
merged 2 commits into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## HEAD (Unreleased)
## 0.40.1 (Release Jul 27, 2023)

- Use Node.js 18.x Lambda runtime to ensure AWS SDK 3.0 is available

## 0.40.0 (Release Jul 27, 2023)

- Fix a bug to allow computing minimum task and memory size requirements as `Inputs` for `Service` in `cloud/aws`.
- Update to use `@pulumi/aws` 5.x
Expand All @@ -11,6 +15,7 @@

- Fix a regression where `LambdaFullAccess` does not have enough permissions for most function scenarios.
Default to the same permissions for Lambda functions as `@pulumi/aws` along with `AmazonECSFullAccess`.

## 0.30.0 (Release April 19, 2021)

- (Breaking) Update to Pulumi 3.0 packages
Expand Down
2 changes: 2 additions & 0 deletions aws/function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ export function createCallbackFunction(
const args: aws.lambda.CallbackFunctionArgs<any, any> = {
policies,
vpcConfig,
// Require Node 18 to use AWS SDK 3.0
runtime: aws.lambda.Runtime.NodeJS18dX,
memorySize: functionMemorySize,
codePathOptions: {
extraIncludePaths: functionIncludePaths,
Expand Down