1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00

Add GovCloud region name to validation set.

This commit is contained in:
Jonathan Hanson 2015-08-25 18:12:49 -07:00
parent eb4be1cf72
commit dd199d06f4

View file

@ -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)