lib/terraforming/resource/network_acl.rb in terraforming-0.9.1 vs lib/terraforming/resource/network_acl.rb in terraforming-0.10.0
- old
+ new
@@ -66,10 +66,10 @@
def module_name_of(network_acl)
normalize_module_name(name_from_tag(network_acl, network_acl.network_acl_id))
end
def network_acls
- @client.describe_network_acls.network_acls
+ @client.describe_network_acls.map(&:network_acls).flatten
end
def subnet_ids_of(network_acl)
network_acl.associations.map { |association| association.subnet_id }
end