lib/terraforming/resource/vpn_gateway.rb in terraforming-0.9.1 vs lib/terraforming/resource/vpn_gateway.rb in terraforming-0.10.0
- old
+ new
@@ -42,10 +42,10 @@
end
private
def vpn_gateways
- @client.describe_vpn_gateways.vpn_gateways
+ @client.describe_vpn_gateways.map(&:vpn_gateways).flatten
end
def module_name_of(vpn_gateway)
normalize_module_name(name_from_tag(vpn_gateway, vpn_gateway.vpn_gateway_id))
end