[aws] remove unused variable in iam_user module (#41695)
This commit is contained in:
parent
1118e441e9
commit
67d6e8177e
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ def create_or_update_user(connection, module):
|
|||
module.exit_json(changed=True)
|
||||
|
||||
try:
|
||||
user = connection.create_user(**params)
|
||||
connection.create_user(**params)
|
||||
changed = True
|
||||
except ClientError as e:
|
||||
module.fail_json(msg="Unable to create user: {0}".format(to_native(e)), exception=traceback.format_exc(),
|
||||
|
|
Loading…
Reference in a new issue