mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
add current set of elasticache endpoints
This commit is contained in:
parent
797d114465
commit
fe424fdee9
1 changed files with 8 additions and 1 deletions
|
@ -57,7 +57,14 @@ module Fog
|
|||
@host = options[:host] || case options[:region]
|
||||
when 'us-east-1'
|
||||
'elasticache.us-east-1.amazonaws.com'
|
||||
#TODO: Support other regions
|
||||
when 'us-west-1'
|
||||
'elasticache.us-west-1.amazonaws.com'
|
||||
when 'eu-west-1'
|
||||
'elasticache.eu-west-1.amazonaws.com'
|
||||
when 'ap-southeast-1'
|
||||
'elasticache.ap-southeast-1.amazonaws.com'
|
||||
when 'ap-northeast-1'
|
||||
'elasticache.ap-northeast-1.amazonaws.com'
|
||||
else
|
||||
raise ArgumentError, "Unknown region: #{options[:region].inspect}"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue