Merge pull request #2556 from jaydrogers/patch-1

Update in Amazon IAM Policy Documentation
reviewable/pr18780/r1
Brian Coca 9 years ago
commit d2d4830320

@ -64,9 +64,9 @@ extends_documentation_fragment:
''' '''
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
@ -87,7 +87,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