Explorar el Código

specify regions correctly

Chris Mague hace 7 años
padre
commit
b7462e821c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/neoinfra/vpcs.rb

+ 1 - 1
lib/neoinfra/vpcs.rb

@@ -25,7 +25,7 @@ module NeoInfra
           aws_secret_access_key: account[:secret]
         }
         aws.regions.each do |region|
-          region_conf = { region: region['regionName'] }
+          region_conf = { region: region }
           new_conn = Fog::Compute.new(region_conf.merge(base_conf))
           # Get VPCs
           new_conn.vpcs.all.each do |vpc|