We have been using the AWS CDK EKS blueprint for the past year and created a cluster about a year ago. I added all the versions in the description below.
We want to test some behavior and add extra things to the pipeline. So, we first tried to create a new cluster in our testing account before tweaking it to prod.
Expected Behavior
The same deployment should work without upgrading any versionThe same
Current Behavior
It started failing without any code change. Upon investigation, we discovered that it creates a nested stack and lambda handlers.
AWS discontinued support for Python 3.7, but the Blueprint statically provides that in the lambda. So now the cluster creation is stuck. We will have to upgrade the CDK (that has another risk of some more version incompatibility that is hard to describe in this issue)
Reproduction Steps
Create a cluster using the code provided below. (you might need to disable the logging if cluster is not created, that is another issue. I will may be create another issue).
Creation will throw following error for the nested (deleted) stack
Resource handler returned message: "The runtime parameter of python3.7 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (python3.12) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: 9f0a2ef8-a702-48ec-9169-4eb9a728e3a3)" (RequestToken: 9d6b604d-3091-dc7c-f179-7725e386a1c1, HandlerErrorCode: InvalidRequest)
Possible Solution
Upgrade every utilites to the latest versions!
Provide options to optionally change versions if something like this happen
Describe the bug
We have been using the AWS CDK EKS blueprint for the past year and created a cluster about a year ago. I added all the versions in the description below.
We want to test some behavior and add extra things to the pipeline. So, we first tried to create a new cluster in our testing account before tweaking it to prod.
Expected Behavior
The same deployment should work without upgrading any versionThe same
Current Behavior
It started failing without any code change. Upon investigation, we discovered that it creates a nested stack and lambda handlers.
AWS discontinued support for Python 3.7, but the Blueprint statically provides that in the lambda. So now the cluster creation is stuck. We will have to upgrade the CDK (that has another risk of some more version incompatibility that is hard to describe in this issue)
Reproduction Steps
Create a cluster using the code provided below. (you might need to disable the logging if cluster is not created, that is another issue. I will may be create another issue).
Creation will throw following error for the nested (deleted) stack
Possible Solution
Additional Information/Context
Adding package.json's relavant information
Code to create cluster
CDK CLI Version
2.133.0
EKS Blueprints Version
1.14.0
Node.js Version
20
Environment details (OS name and version, etc.)
Linux (AWS Pipeline)
Other information
No response