aws-samples / aws-eda-slurm-cluster

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

[BUG] Build files contain CFN tokens until stack is updated #184

Closed cartalla closed 6 months ago

cartalla commented 7 months ago

Describe the bug

The build files are currently built with the cdk stack so resources like security groups and IAM policies don't exist yet. There is code to get those IDs on an update, but the files should really be correct after initial deployment.

Propose to create them in a Lambda custom resource with the resource IDs passed as parameters so that they are resolved during CFN deployment.

The ParallelCluster custom resource should depend on the build-files since it will download the build files from S3.