Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunmenon95 committed Jul 22, 2024
1 parent 3217efb commit 15db903
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ecs-task.cfndsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -312,6 +312,8 @@
end
end

print("Task Volumes: #{task_volumes}")

task_type = external_parameters.fetch(:task_type, 'EC2')
unless task_definition.empty?

Expand Down

0 comments on commit 15db903

Please sign in to comment.