Skip to content

Commit

Permalink
Merge pull request #425 from Val/add_france_region
Browse files Browse the repository at this point in the history
add france (eu-west-3) new region, fix #424
  • Loading branch information
geemus authored Dec 19, 2017
2 parents bafbe4a + 10d5e49 commit 77c4b1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fog/aws.rb
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def self.json_response?(response)
end

def self.regions
@regions ||= ['ap-northeast-1', 'ap-northeast-2', 'ap-southeast-1', 'ap-southeast-2', 'eu-central-1', 'ca-central-1', 'eu-west-1', 'eu-west-2', 'us-east-1', 'us-east-2', 'us-west-1', 'us-west-2', 'sa-east-1', 'cn-north-1', 'us-gov-west-1', 'ap-south-1']
@regions ||= ['ap-northeast-1', 'ap-northeast-2', 'ap-southeast-1', 'ap-southeast-2', 'eu-central-1', 'ca-central-1', 'eu-west-1', 'eu-west-2', 'eu-west-3', 'us-east-1', 'us-east-2', '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)
Expand Down
3 changes: 3 additions & 0 deletions lib/fog/aws/requests/compute/describe_availability_zones.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ def describe_availability_zones(filters = {})
{"messageSet" => [], "regionName" => "eu-west-2", "zoneName" => "eu-west-2a", "zoneState" => "available"},
{"messageSet" => [], "regionName" => "eu-west-2", "zoneName" => "eu-west-2b", "zoneState" => "available"},

{"messageSet" => [], "regionName" => "eu-west-3", "zoneName" => "eu-west-3a", "zoneState" => "available"},
{"messageSet" => [], "regionName" => "eu-west-3", "zoneName" => "eu-west-3b", "zoneState" => "available"},

{"messageSet" => [], "regionName" => "eu-central-1", "zoneName" => "eu-central-1a", "zoneState" => "available"},
{"messageSet" => [], "regionName" => "eu-central-1", "zoneName" => "eu-central-1b", "zoneState" => "available"},

Expand Down

0 comments on commit 77c4b1e

Please sign in to comment.