-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New module - iam_role #19486
New module - iam_role #19486
Conversation
Migrated from ansible/ansible-modules-extras#2201 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs_revision
short_description: Manage AWS IAM roles | ||
description: | ||
- Manage AWS IAM roles | ||
version_added: "2.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2.3
else: | ||
destroy_role(connection, module) | ||
|
||
from ansible.module_utils.basic import * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please import only what you need, rather than *
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a new requirement? I've always written my modules like this. Is there doc for likely necessary includes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given the reviews in ansible/ansible-modules-extras#2201 once my comments have been addressed I think we can merge this |
@wimnat The file |
5b78095
to
4ad781d
Compare
ISSUE TYPE
COMPONENT NAME
iam_role
ANSIBLE VERSION
2.2
SUMMARY
Module to allow managing AWS IAM roles. Similar functionality to current iam module but it was decided that the module should be split in to separate ones i.e. iam_role, iam_user, iam_group.
This module is the first of that split.
Extra functionality includes support for managed policies