lib/container_ship/command/modules/ecs.rb in container_ship-0.1.3 vs lib/container_ship/command/modules/ecs.rb in container_ship-0.1.4
- old
+ new
@@ -21,10 +21,11 @@
def run_task(task_definition, revision)
aws_ecs_client
.run_task(
cluster: task_definition.full_cluster_name,
- task_definition: "#{task_definition.full_name}:#{revision}"
+ task_definition: "#{task_definition.full_name}:#{revision}",
+ **task_definition.run_task_options
)
.tasks
.first
.task_arn
end