diff --git a/cookbooks/aws-parallelcluster-slurm/recipes/config/config_slurm_resume.rb b/cookbooks/aws-parallelcluster-slurm/recipes/config/config_slurm_resume.rb index 437193aaa..368508f47 100644 --- a/cookbooks/aws-parallelcluster-slurm/recipes/config/config_slurm_resume.rb +++ b/cookbooks/aws-parallelcluster-slurm/recipes/config/config_slurm_resume.rb @@ -51,6 +51,6 @@ head_node_hostname: on_docker? ? 'local_hostname' : node['ec2']['local_hostname'], clustermgtd_heartbeat_file_path: "#{node['cluster']['slurm']['install_dir']}/etc/pcluster/.slurm_plugin/clustermgtd_heartbeat", instance_id: on_docker? ? 'instance_id' : node['ec2']['instance_id'], - scaling_strategy: node['cluster']['config'].dig(:Scheduling, :ScalingStrategy) + scaling_strategy: lazy { node['cluster']['config'].dig(:Scheduling, :ScalingStrategy) } ) end