Skip to content

Commit 0e08a40

Browse files
authored
Update the name attribute value in the examples (#918)
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]>
1 parent 5e09149 commit 0e08a40

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugins/modules/iam_managed_policy.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@
6565
state: present
6666
6767
# Update a policy with a new default version
68-
- name: Create IAM Managed Policy
68+
- name: Update an IAM Managed Policy with new default version
6969
community.aws.iam_managed_policy:
7070
policy_name: "ManagedPolicy"
7171
policy: "{{ lookup('file', 'managed_policy_update.json') }}"
7272
state: present
7373
7474
# Update a policy with a new non default version
75-
- name: Create IAM Managed Policy
75+
- name: Update an IAM Managed Policy with a non default version
7676
community.aws.iam_managed_policy:
7777
policy_name: "ManagedPolicy"
7878
policy:
@@ -85,7 +85,7 @@
8585
state: present
8686
8787
# Update a policy and make it the only version and the default version
88-
- name: Create IAM Managed Policy
88+
- name: Update an IAM Managed Policy with default version as the only version
8989
community.aws.iam_managed_policy:
9090
policy_name: "ManagedPolicy"
9191
policy: |
@@ -101,7 +101,7 @@
101101
state: present
102102
103103
# Remove a policy
104-
- name: Create IAM Managed Policy
104+
- name: Remove an existing IAM Managed Policy
105105
community.aws.iam_managed_policy:
106106
policy_name: "ManagedPolicy"
107107
state: absent

0 commit comments

Comments
 (0)