Skip to content

Commit

Permalink
fix: Add missing base key to iam()
Browse files Browse the repository at this point in the history
  • Loading branch information
sijis authored and e4r7hbug committed Jul 26, 2018
1 parent 72609f5 commit fe6a14e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gogoutils/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,15 +146,14 @@ def shared_s3_app_bucket(self, include_region=False):

def iam(self):
"""Generate iam details"""
iam_base_name = self.format['iam_base'].format(**self.data)

iam = {
'group': self.format['iam_group'].format(**self.data),
'lambda_role': self.format['iam_lambda_role'].format(**self.data),
'policy': self.format['iam_policy'].format(**self.data),
'profile': self.format['iam_profile'].format(**self.data),
'role': self.format['iam_role'].format(**self.data),
'user': self.format['iam_user'].format(**self.data),
'base': self.format['iam_base'].format(**self.data),
}

return iam
Expand Down

0 comments on commit fe6a14e

Please sign in to comment.