Browse Source

specify regions correctly

Chris Mague 7 năm trước cách đây
mục cha
commit
b7462e821c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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|