Skip to content

Commit

Permalink
fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunmenon95 committed Jul 22, 2024
1 parent 7c1cc13 commit 38b4dea
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ecs-task.cfndsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,8 @@
# add ebs volumes
ebs_volumes = external_parameters.fetch(:ebs_volumes, [])
ebs_volumes.each do |ebs_volume|
mount_points << { ContainerPath: ebs_volume['name'], SourceVolume: ebs_volume['source_volume'], ReadOnly: false}
volumes << {Name: ebs_volume['name'], ConfiguredAtLaunch: true }
end
mount_points << { ContainerPath: ebs_volume['name'], SourceVolume: ebs_volume['source_volume'], ReadOnly: false}
volumes << {Name: ebs_volume['name'], ConfiguredAtLaunch: true }
task_def.merge!({MountPoints: mount_points })
task_def.merge!({Volumes: volumes })
end
Expand Down

0 comments on commit 38b4dea

Please sign in to comment.