lib/terraforming/resource/vpc.rb in terraforming-0.9.1 vs lib/terraforming/resource/vpc.rb in terraforming-0.10.0
- old
+ new
@@ -54,10 +54,10 @@
def module_name_of(vpc)
normalize_module_name(name_from_tag(vpc, vpc.vpc_id))
end
def vpcs
- @client.describe_vpcs.vpcs
+ @client.describe_vpcs.map(&:vpcs).flatten
end
def vpc_attribute(vpc, attribute)
@client.describe_vpc_attribute(vpc_id: vpc.vpc_id, attribute: attribute)
end