Skip to content

Commit

Permalink
Update the name attribute value in the examples (#918)
Browse files Browse the repository at this point in the history
Update the name attribute value in the examples

SUMMARY

Problem-

All the examples had same name key value irrespective of different purposes of the tasks

Action taken -

Made changes in the name of the tasks under examples
Corrected it with relevant  name key value to the comments of the task


ISSUE TYPE


Docs Pull Request

COMPONENT NAME




ADDITIONAL INFORMATION

Reviewed-by: Joseph Torcasso <None>
Reviewed-by: Markus Bergholz <[email protected]>
  • Loading branch information
priyadarshu authored Feb 2, 2022
1 parent 5e09149 commit 0e08a40
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/modules/iam_managed_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@
state: present
# Update a policy with a new default version
- name: Create IAM Managed Policy
- name: Update an IAM Managed Policy with new default version
community.aws.iam_managed_policy:
policy_name: "ManagedPolicy"
policy: "{{ lookup('file', 'managed_policy_update.json') }}"
state: present
# Update a policy with a new non default version
- name: Create IAM Managed Policy
- name: Update an IAM Managed Policy with a non default version
community.aws.iam_managed_policy:
policy_name: "ManagedPolicy"
policy:
Expand All @@ -85,7 +85,7 @@
state: present
# Update a policy and make it the only version and the default version
- name: Create IAM Managed Policy
- name: Update an IAM Managed Policy with default version as the only version
community.aws.iam_managed_policy:
policy_name: "ManagedPolicy"
policy: |
Expand All @@ -101,7 +101,7 @@
state: present
# Remove a policy
- name: Create IAM Managed Policy
- name: Remove an existing IAM Managed Policy
community.aws.iam_managed_policy:
policy_name: "ManagedPolicy"
state: absent
Expand Down

0 comments on commit 0e08a40

Please sign in to comment.