Skip to content

Commit

Permalink
ec2_security_group: Set rules->group_name's datatype as raw (#971)
Browse files Browse the repository at this point in the history
ec2_security_group: Set rules->group_name's datatype as raw

Signed-off-by: GomathiselviS [email protected]
SUMMARY
rules-> group_name can accept values of type list and str.
ISSUE TYPE


Docs Pull Request

COMPONENT NAME

ec2_security_group.py
ADDITIONAL INFORMATION

Reviewed-by: Mark Chappell <None>
  • Loading branch information
GomathiselviS authored Aug 23, 2022
1 parent 315472a commit 9e7ae6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- ec2_security_group - set type as ``list`` for rules->group_name as it can accept both ``str`` and ``list`` (https://github.com/ansible-collections/amazon.aws/pull/971).
4 changes: 3 additions & 1 deletion plugins/modules/ec2_security_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,13 @@
- You can specify only one of I(cidr_ip), I(cidr_ipv6), I(ip_prefix), I(group_id)
and I(group_name).
group_name:
type: str
type: list
elements: str
description:
- Name of the Security Group that traffic is coming from.
- If the Security Group doesn't exist a new Security Group will be
created with I(group_desc) as the description.
- I(group_name) can accept values of type str and list.
- You can specify only one of I(cidr_ip), I(cidr_ipv6), I(ip_prefix), I(group_id)
and I(group_name).
group_desc:
Expand Down

0 comments on commit 9e7ae6c

Please sign in to comment.