-
Notifications
You must be signed in to change notification settings - Fork 319
(3.13.2 and earlier) Cluster and AMI creation will fail due to Python 3.9 Lambda runtime deprecation
Starting Aug 31, 2026, AWS Lambda will prevent creation of new Lambda functions using the Python 3.9 runtime. This affects ParallelCluster's ability to create clusters and custom AMIs because these operations rely on Lambda functions that run the custom resources defined in the cluster and build image CloudFormation stacks.
Users attempting to create clusters or build images after Aug 31, 2026 will encounter CloudFormation stack deployment failures due to the inability to deploy the underlying Lambda functions. Existing clusters will continue to operate normally.
See official documentation for further details about Lambda runtime deprecations.
ParallelCluster < 3.14.0.
This mitigation only applies to the ParallelCluster CLI. For ParallelCluster API, PCUI and custom resource users, upgrade to ParallelCluster 3.14.0 or later.
Install the ParallelCluster CLI from a patched commit to continue using affected versions. The patches upgrade the Lambda function runtime from Python 3.9 to Python 3.12, allowing the cluster and build image stacks to deploy successfully with the newer runtime version.
Example to apply the patch for version 3.13.2:
pip install "git+https://github.com/aws/aws-parallelcluster.git@3fa694f1b719297fbbc20d8dc704fe9edcc7cc37#subdirectory=cli"
The same command with the respective commit applies to the other versions.