Skip to content

Commit

Permalink
doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mandar242 committed May 3, 2023
1 parent 5d9f701 commit dbba7a4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions plugins/modules/ec2_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
purge_create_vol_permission:
description:
- Whether unspecified group names or user IDs should be removed from the snapshot createVolumePermission.
- Must set I(modify_create_vol_permission) to C(True) for when I(purge_create_vol_permission) is set to I(purge_create_vol_permission).
- Must set I(modify_create_vol_permission) to C(True) for when I(purge_create_vol_permission) is set to C(True).
required: False
type: bool
default: False
Expand All @@ -91,10 +91,11 @@
required: false
type: list
elements: str
choices: ["all"]
version_added: 6.0.0
user_ids:
description:
- The account user IDs to be added or removed. The possible value is C(all).
- The account user IDs to be added or removed.
- If createVolumePermission on snapshot is currently set to Public i.e. I(group_names=all),
providing I(user_ids) will not make createVolumePermission Private unless I(create_volume_permission) is set to C(true).
- Mutually exclusive with I(group_names).
Expand Down Expand Up @@ -522,7 +523,7 @@ def create_snapshot_ansible_module():
modify_create_vol_permission=dict(type="bool"),
purge_create_vol_permission=dict(type="bool", default=False),
user_ids=dict(type="list", elements="str"),
group_names=dict(type="list", elements="str"),
group_names=dict(type="list", elements="str", choices=['all']),
)
mutually_exclusive = [
("instance_id", "snapshot_id", "volume_id"),
Expand Down

0 comments on commit dbba7a4

Please sign in to comment.