Is the node.js 18 runtime available for AWS Lambda in Gov Cloud? #24333
-
CDK Deployment IssueUnable able to deploy QuestionDoes the Lambda API support the runtime I am getting the below error when trying to deploy a stack containing lambdas that are updated from the Stack Deployments Failed: Error: The stack named <stack-name> failed to deploy: UPDATE_ROLLBACK_COMPLETE: Resource handler returned message: "Value nodejs18.x at 'runtime' failed to satisfy constraint: Member must satisfy enum value set: [nodejs12.x, provided, nodejs16.x, nodejs14.x, ruby2.7, java11, dotnet6, go1.x, provided.al2, java8, java8.al2, dotnetcore3.1, python3.7, python3.8, python3.9] or be a valid ARN Is this the expected behavior in a gov cloud account? Checking the CloudTrail history it appears the API call is reaching the lambda endpoint, but the values provided are invalid despite the various documentation specifying
If CDK CLI version2.64.0 Node.Js Version18.14.2 OSmacOS Monterey LanguageTypescript v4.7.2 Other informationTrying to deploy a stack using CDK in a Gov Cloud account |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
latest update by cdk team on supporting node.js 18 for AWS Lambda in Gov cloud - https://aws.amazon.com/about-aws/whats-new/2023/04/aws-lambda-node-js-18-govcloud-regions/ |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
latest update by cdk team on supporting node.js 18 for AWS Lambda in Gov cloud - https://aws.amazon.com/about-aws/whats-new/2023/04/aws-lambda-node-js-18-govcloud-regions/