ec2_group: Document group_desc rule param

This commit is contained in:
Maykel Moya 2014-03-21 08:35:25 +01:00
parent a429ff26dc
commit 6a92d48b0f

View file

@ -85,6 +85,11 @@ options:
version_added: "1.6"
requirements: [ "boto" ]
notes:
- If a rule declares a group_name and that group doesn't exist, it will be
automatically created. In that case, group_desc should be provided as well.
The module will refuse to create a depended-on group without a description.
'''
EXAMPLES = '''
@ -121,7 +126,9 @@ EXAMPLES = '''
- proto: tcp
from_port: 80
to_port: 80
group_name: example
group_name: example-other
# description to use if example-other needs to be created
group_desc: other example EC2 group
'''
try: