aws-samples / aws-eda-slurm-cluster

AWS Slurm Cluster for EDA Workloads
MIT No Attribution
28 stars 7 forks source link

Fix Lambda python version for previous versions of ParallelCluster. #281

Closed cartalla closed 3 days ago

cartalla commented 3 days ago

PC 3.11.1 updated the Lambda layer to use Python 3.12. Previous version required Python 3.9.

Set the Lambda Python runtime based on the ParallelCluster version so that the application continues to work on older versions of PC.

This bug was introduced in #270.

Related to #270

Resolves #280

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.