From 8fdd55201f27512e5c7856cdf8fbd9f761f4911d Mon Sep 17 00:00:00 2001 From: Chanakya Devraj Date: Wed, 14 Dec 2016 10:31:25 +0530 Subject: [PATCH 1/2] Update aws.rb --- lib/fog/aws.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/aws.rb b/lib/fog/aws.rb index 36cf88469..af7f2a8ff 100644 --- a/lib/fog/aws.rb +++ b/lib/fog/aws.rb @@ -228,7 +228,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-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', '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) From 3e4ddcf86018f4104c0a4d00e94b55ad3241098c Mon Sep 17 00:00:00 2001 From: Chanakya Devraj Date: Wed, 14 Dec 2016 10:35:18 +0530 Subject: [PATCH 2/2] added az's for canada and london --- lib/fog/aws/requests/compute/describe_availability_zones.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/fog/aws/requests/compute/describe_availability_zones.rb b/lib/fog/aws/requests/compute/describe_availability_zones.rb index 284a5d1d4..3e65c6bb4 100644 --- a/lib/fog/aws/requests/compute/describe_availability_zones.rb +++ b/lib/fog/aws/requests/compute/describe_availability_zones.rb @@ -67,9 +67,15 @@ module Fog {"messageSet" => [], "regionName" => "eu-west-1", "zoneName" => "eu-west-1b", "zoneState" => "available"}, {"messageSet" => [], "regionName" => "eu-west-1", "zoneName" => "eu-west-1c", "zoneState" => "available"}, + {"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-central-1", "zoneName" => "eu-central-1a", "zoneState" => "available"}, {"messageSet" => [], "regionName" => "eu-central-1", "zoneName" => "eu-central-1b", "zoneState" => "available"}, + {"messageSet" => [], "regionName" => "ca-central-1", "zoneName" => "ca-central-1a", "zoneState" => "available"}, + {"messageSet" => [], "regionName" => "ca-central-1", "zoneName" => "ca-central-1b", "zoneState" => "available"}, + {"messageSet" => [], "regionName" => "ap-northeast-1", "zoneName" => "ap-northeast-1a", "zoneState" => "available"}, {"messageSet" => [], "regionName" => "ap-northeast-1", "zoneName" => "ap-northeast-1b", "zoneState" => "available"},