awsroute53: New record A uses lambda Node 14 #32629
Labels
@aws-cdk/aws-route53
Related to Amazon Route 53
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
Describe the bug
I'm trying to create a custom domain for my cognito user pool. This is my code:
When I deploy it, I get this error:
The runtime parameter of nodejs14.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use a supported runtime while creating or updating functions.
This is the created template:
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
I imagine it should try to execute on the LTS version, which is 20
Current Behavior
It's trying to use version 14
Reproduction Steps
Create a stack that creates a cognito with a user pool, then try to attach a custom domain (using the example i gave), and finally creates a record o route 53 using
NewUserPoolDomainTarget
as alias.Possible Solution
No response
Additional Information/Context
I'm working on it in my public repository on
refator/infra-as-code
branch in case you want to have more context.https://github.com/PBH-Tech/moonenv
CDK CLI Version
2.173.2
Framework Version
No response
Node.js Version
v20.10.0
OS
Sequoia Version 15.0.1
Language
Go
Language Version
go1.22.2
Other information
No response
The text was updated successfully, but these errors were encountered: