mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
Added region Mumbai ap-south-1
This commit is contained in:
parent
1b26f850d3
commit
a8ab51703e
2 changed files with 3 additions and 3 deletions
|
@ -224,7 +224,7 @@ module Fog
|
|||
end
|
||||
|
||||
def self.regions
|
||||
@regions ||= ['ap-northeast-1', 'ap-northeast-2', 'ap-southeast-1', 'ap-southeast-2', 'eu-central-1', 'eu-west-1', 'us-east-1', 'us-west-1', 'us-west-2', 'sa-east-1', 'cn-north-1', 'us-gov-west-1', 'in-west-1']
|
||||
@regions ||= ['ap-northeast-1', 'ap-northeast-2', 'ap-southeast-1', 'ap-southeast-2', 'eu-central-1', 'eu-west-1', 'us-east-1', 'us-west-1', 'us-west-2', 'sa-east-1', 'cn-north-1', 'us-gov-west-1', 'ap-south-1']
|
||||
end
|
||||
|
||||
def self.validate_region!(region, host=nil)
|
||||
|
|
|
@ -75,8 +75,8 @@ module Fog
|
|||
{"messageSet" => [], "regionName" => "ap-southeast-2", "zoneName" => "ap-southeast-2a", "zoneState" => "available"},
|
||||
{"messageSet" => [], "regionName" => "ap-southeast-2", "zoneName" => "ap-southeast-2b", "zoneState" => "available"},
|
||||
|
||||
{"messageSet" => [], "regionName" => "in-west-1", "zoneName" => "in-west-1a", "zoneState" => "available"},
|
||||
{"messageSet" => [], "regionName" => "in-west-1", "zoneName" => "in-west-1b", "zoneState" => "available"},
|
||||
{"messageSet" => [], "regionName" => "ap-south-1", "zoneName" => "ap-south-1a", "zoneState" => "available"},
|
||||
{"messageSet" => [], "regionName" => "ap-south-1", "zoneName" => "ap-south-1b", "zoneState" => "available"},
|
||||
]
|
||||
|
||||
availability_zone_info = all_zones.select { |zoneinfo| zoneinfo["regionName"] == @region }
|
||||
|
|
Loading…
Reference in a new issue