aws-samples / aws-eda-slurm-cluster

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

Don't pass config as property to CreateParallelCluster lambda #188

Closed cartalla closed 9 months ago

cartalla commented 9 months ago

Create a jinja2 template of the config file and save it to s3. Pass the template variable values as parameters to the lambda. Get the template in the lambda and render it with the template parameters. Save the rendered config to s3 and create/update the cluster.

Resolves #179

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