lib/terraforming/resource/iam_group.rb in terraforming-0.9.1 vs lib/terraforming/resource/iam_group.rb in terraforming-0.10.0

- old
+ new

@@ -20,11 +20,11 @@ end def tfstate iam_groups.inject({}) do |resources, group| attributes = { - "arn"=> group.arn, + "arn" => group.arn, "id" => group.group_name, "name" => group.group_name, "path" => group.path, "unique_id" => group.group_id, } @@ -41,10 +41,10 @@ end private def iam_groups - @client.list_groups.collect {|r| r.groups}.flatten + @client.list_groups.map(&:groups).flatten end end end end