From edf1ced788ce7558a85a330f60462d50980b6f3c Mon Sep 17 00:00:00 2001 From: Josh Lane Date: Tue, 19 May 2015 13:08:59 -0700 Subject: [PATCH] pretend current iam user is "root" --- lib/fog/aws/iam.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/aws/iam.rb b/lib/fog/aws/iam.rb index 9510a14bc..96f2cc373 100644 --- a/lib/fog/aws/iam.rb +++ b/lib/fog/aws/iam.rb @@ -182,7 +182,7 @@ module Fog end def current_user - self.data[:users][@aws_access_key_id] + self.data[:users]["root"] end end