From dd199d06f4b935a19a26b9394db7208cba319d9e Mon Sep 17 00:00:00 2001 From: Jonathan Hanson Date: Tue, 25 Aug 2015 18:12:49 -0700 Subject: [PATCH] Add GovCloud region name to validation set. --- 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 3f33beb08..f342e5f59 100644 --- a/lib/fog/aws.rb +++ b/lib/fog/aws.rb @@ -224,7 +224,7 @@ module Fog end def self.regions - @regions ||= ['ap-northeast-1', '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'] + @regions ||= ['ap-northeast-1', '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'] end def self.validate_region!(region, host=nil)