Skip to content

Commit

Permalink
Merge pull request #18 from timhassett/master
Browse files Browse the repository at this point in the history
fixed attributes typo
  • Loading branch information
Guslington authored Oct 25, 2018
2 parents 81e50e8 + 301b8d5 commit 0aec0bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ecs-service.cfndsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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") }
Expand Down

0 comments on commit 0aec0bb

Please sign in to comment.