Skip to content

Commit

Permalink
Merge pull request #5 from Guslington/develop
Browse files Browse the repository at this point in the history
add task def command|heathcheck|workingdirectory
  • Loading branch information
Guslington authored Jul 17, 2018
2 parents b9eba42 + 5f4d72a commit b899325
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ecs-service.cfndsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@
task_def.merge!({PortMappings: port_mapppings})
end

task_def.merge!({Command: task['command'] }) if task.key?('command')
task_def.merge!({HealthCheck: task['healthcheck'] }) if task.key?('healthcheck')
task_def.merge!({WorkingDirectory: task['working_dir'] }) if task.key?('working_dir')


definitions << task_def

end if defined? task_definition
Expand Down

0 comments on commit b899325

Please sign in to comment.