mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
set region before fetching credentials
This commit is contained in:
parent
440f62a499
commit
88d00aa41d
1 changed files with 1 additions and 1 deletions
|
@ -74,12 +74,12 @@ module Fog
|
|||
def initialize(options={})
|
||||
|
||||
@use_iam_profile = options[:use_iam_profile]
|
||||
@region = options[:region] || 'us-east-1'
|
||||
setup_credentials(options)
|
||||
@instrumentor = options[:instrumentor]
|
||||
@instrumentor_name = options[:instrumentor_name] || 'fog.aws.sts'
|
||||
@connection_options = options[:connection_options] || {}
|
||||
|
||||
@region = options[:region] || 'us-east-1'
|
||||
@host = options[:host] || "sts.#{@region}.amazonaws.com"
|
||||
@path = options[:path] || '/'
|
||||
@persistent = options[:persistent] || false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue