Mitch Garnaat

Add debug logging about attaching policy to role.

...@@ -80,6 +80,7 @@ class Role(object): ...@@ -80,6 +80,7 @@ class Role(object):
80 AssumeRolePolicyDocument=AssumeRolePolicyDocument) 80 AssumeRolePolicyDocument=AssumeRolePolicyDocument)
81 LOG.debug(response) 81 LOG.debug(response)
82 if self._context.policy: 82 if self._context.policy:
83 + LOG.debug('attaching policy %s', self._context.policy.arn)
83 response = self._iam_svc.attach_role_policy( 84 response = self._iam_svc.attach_role_policy(
84 RoleName=self.name, 85 RoleName=self.name,
85 PolicyArn=self._context.policy.arn) 86 PolicyArn=self._context.policy.arn)
......