lib/dockly.rb in dockly-3.0.0 vs lib/dockly.rb in dockly-3.0.1

- old
+ new

@@ -61,11 +61,13 @@ def perform_role_assumption return if assume_role.nil? Aws.config.update( credentials: Aws::AssumeRoleCredentials.new( - role_arn: assume_role, role_session_name: 'dockly' - ) + role_arn: assume_role, role_session_name: 'dockly', + client: Aws::STS::Client.new(region: aws_region) + ), + region: aws_region ) end def aws_region(region = nil) @aws_region = region unless region.nil?