From 301b8d5a2e9d5db340d50cdb9d0a9e839af079e2 Mon Sep 17 00:00:00 2001 From: Tim Hassett Date: Thu, 25 Oct 2018 16:05:05 +1100 Subject: [PATCH] fixed attributes typo --- ecs-service.cfndsl.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ecs-service.cfndsl.rb b/ecs-service.cfndsl.rb index d70c370..844dabd 100644 --- a/ecs-service.cfndsl.rb +++ b/ecs-service.cfndsl.rb @@ -198,11 +198,11 @@ if targetgroup.has_key?('rules') - atributes = [] + attributes = [] - targetgroup['atributes'].each do |key,value| - atributes << { Key: key, Value: value } - end if targetgroup.has_key?('atributes') + targetgroup['attributes'].each do |key,value| + attributes << { Key: key, Value: value } + end if targetgroup.has_key?('attributes') tags = [] tags << { Key: "Environment", Value: Ref("EnvironmentName") }