Skip to content

Commit

Permalink
update path
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunmenon95 committed Jul 22, 2024
1 parent 38b4dea commit 7b886ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecs-task.cfndsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
# 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}
mount_points << { ContainerPath: ebs_volume['container_path'], SourceVolume: ebs_volume['name'], ReadOnly: false}
volumes << {Name: ebs_volume['name'], ConfiguredAtLaunch: true }
task_def.merge!({MountPoints: mount_points })
task_def.merge!({Volumes: volumes })
Expand Down

0 comments on commit 7b886ab

Please sign in to comment.