I'm trying to delete aws user like this:
- name: Delete AWS users
iam:
name: userName
iam_type: user
state: absent
It gives following error:
Failed to delete login profile: BotoServerError: 404 Not Found
<ErrorResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
<Error>
<Type>Sender</Type>
<Code>NoSuchEntity</Code>
<Message>Login Profile for User XXXX cannot be found.</Message>
</Error>
<RequestId>asdfsdf-fe98-11e8-23fr-035cerw9269a</RequestId>
</ErrorResponse>
If I try to delete with "iam_user", it says "Delete first user access
keys". How can I delete aws user?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/bad18a4b-28a5-4f3f-bdb9-e3e1390057f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.