Skip to content

Commit

Permalink
Merge pull request #85 from swipely/fix-perform-role-assumption
Browse files Browse the repository at this point in the history
Fix perform role assumption
  • Loading branch information
nahiluhmot committed Jul 16, 2015
2 parents ba9ac05 + 64df8da commit 6b6abb4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/dockly.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ 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

Expand Down

0 comments on commit 6b6abb4

Please sign in to comment.