lib/terraforming/resource/subnet.rb in terraforming-0.9.1 vs lib/terraforming/resource/subnet.rb in terraforming-0.10.0
- old
+ new
@@ -42,10 +42,10 @@
end
private
def subnets
- @client.describe_subnets.subnets
+ @client.describe_subnets.map(&:subnets).flatten
end
def module_name_of(subnet)
normalize_module_name("#{subnet.subnet_id}-#{name_from_tag(subnet, subnet.subnet_id)}")
end