iam: don't delete passwords by default

reviewable/pr18780/r1
billwanjohi 9 years ago
parent 6288d44581
commit 99e3881a7c

@ -280,12 +280,6 @@ def update_user(module, iam, name, new_name, new_path, key_state, key_count, key
module.fail_json(changed=False, msg="Passsword doesn't conform to policy")
else:
module.fail_json(msg=error_msg)
else:
try:
iam.delete_login_profile(name)
changed = True
except boto.exception.BotoServerError:
pass
if key_state == 'create':
try:

Loading…
Cancel
Save