lib/aws/core/configuration.rb in aws-sdk-1.38.0 vs lib/aws/core/configuration.rb in aws-sdk-1.39.0

- old
+ new

@@ -481,10 +481,10 @@ add_option :secret_access_key add_option :session_token add_option :region do |cfg,region| - region || ENV['AWS_REGION'] || ENV['AMAZON_REGION'] || 'us-east-1' + region || ENV['AWS_REGION'] || ENV['AMAZON_REGION'] || ENV['AWS_DEFAULT_REGION'] || 'us-east-1' end add_option_with_needs :credential_provider, [:access_key_id, :secret_access_key, :session_token] do |cfg,static_creds|