lib/terraforming/resource/internet_gateway.rb in terraforming-0.9.1 vs lib/terraforming/resource/internet_gateway.rb in terraforming-0.10.0
- old
+ new
@@ -41,10 +41,10 @@
end
private
def internet_gateways
- @client.describe_internet_gateways.internet_gateways
+ @client.describe_internet_gateways.map(&:internet_gateways).flatten
end
def module_name_of(internet_gateway)
normalize_module_name(name_from_tag(internet_gateway, internet_gateway.internet_gateway_id))
end