Closed gtfortytwo closed 1 year ago
Files identified in the description:
plugins/modules/iam_access_key.py
](https://github.com/['ansible-collections/amazon.aws', 'ansible-collections/community.aws', 'ansible-collections/community.vmware']/blob/main/plugins/modules/iam_access_key.py)If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
cc @jillr @markuman @s-hertel @tremble click here for bot help
Thanks for taking the time to report this issue, the documentation on our GitHub Pages is already updated and the documentation on ansible.com will be updated with our next release
Summary
The "Delete the access key" example in the
iam_access_key
module is broken. It's currently:There are two issues:
name
attribute doesn't exist - it should beuser_name
(or theusername
alias).access_key_id
attribute should just beid
. Theaccess_key_id
attribute specifies credentials for the module to use to access the API, not the ID of the access key we're trying to delete (which is specified byid
).Corrected example:
Issue Type
Documentation Report
Component Name
iam_access_key
Ansible Version
Collection Versions
Configuration
OS / Environment
Linux
Additional Information
No response
Code of Conduct