From 15db903e4f08f8748b1aec85f4d5ada46b5d1f70 Mon Sep 17 00:00:00 2001 From: Tarun Menon Date: Mon, 22 Jul 2024 11:58:14 +1000 Subject: [PATCH] add logging --- ecs-task.cfndsl.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ecs-task.cfndsl.rb b/ecs-task.cfndsl.rb index 8208fe0..024f3fb 100644 --- a/ecs-task.cfndsl.rb +++ b/ecs-task.cfndsl.rb @@ -128,7 +128,7 @@ VolumeType "gp3" end mount_points << { ContainerPath: ebs_volume['container_path'], SourceVolume: Ref(:ebs_volume['name']), ReadOnly: false} - task_volumes << {Name: Ref(:ebs_volume['name']), ConfiguredAtLaunch: true } + task_volumes << { Name: Ref(:ebs_volume['name']), ConfiguredAtLaunch: true } task_def.merge!({MountPoints: mount_points }) end @@ -312,6 +312,8 @@ end end + print("Task Volumes: #{task_volumes}") + task_type = external_parameters.fetch(:task_type, 'EC2') unless task_definition.empty?