diff --git a/ecs-task.cfndsl.rb b/ecs-task.cfndsl.rb index 1f65763..48b04c9 100644 --- a/ecs-task.cfndsl.rb +++ b/ecs-task.cfndsl.rb @@ -21,6 +21,7 @@ } definitions, task_volumes, secrets = Array.new(4){[]} + task_constraints =[]; secrets_policy = {} task_definition = external_parameters.fetch(:task_definition, {}) @@ -253,7 +254,6 @@ end # add task placement constraints - task_constraints =[]; task_placement_constraints = external_parameters.fetch(:task_placement_constraints, []) task_placement_constraints.each do |cntr| object = {Type: "memberOf"}