Update in Amazon IAM Policy Documentation

There were typos in the documentation that made the examples seem misleading of what was being demonstrated. This update fixes that.
pull/18777/head
Jay Rogers 9 years ago committed by Matt Clay
parent b30438f2c8
commit bef2b75857

@ -62,9 +62,9 @@ extends_documentation_fragment: aws
''' '''
EXAMPLES = ''' EXAMPLES = '''
# Create and policy with the name of 'Admin' to the group 'administrators' # Create a policy with the name of 'Admin' to the group 'administrators'
tasks: tasks:
- name: Create two new IAM users with API keys - name: Assign a policy called Admin to the administrators group
iam_policy: iam_policy:
iam_type: group iam_type: group
iam_name: administrators iam_name: administrators
@ -85,7 +85,7 @@ task:
- Luigi - Luigi
register: new_groups register: new_groups
- name: - name: Apply READ-ONLY policy to new groups that have been recently created
iam_policy: iam_policy:
iam_type: group iam_type: group
iam_name: "{{ item.created_group.group_name }}" iam_name: "{{ item.created_group.group_name }}"

Loading…
Cancel
Save