ec2_group.py: added ICMP rule example
This commit is contained in:
parent
c2cc7f17a3
commit
63d2575f9f
1 changed files with 4 additions and 0 deletions
|
@ -116,6 +116,10 @@ EXAMPLES = '''
|
||||||
from_port: 10051
|
from_port: 10051
|
||||||
to_port: 10051
|
to_port: 10051
|
||||||
group_id: sg-12345678
|
group_id: sg-12345678
|
||||||
|
- proto: icmp
|
||||||
|
from_port: 8 # icmp type, -1 = any type
|
||||||
|
to_port: -1 # icmp subtype, -1 = any subtype
|
||||||
|
cidr_ip: 10.0.0.0/8
|
||||||
- proto: all
|
- proto: all
|
||||||
# the containing group name may be specified here
|
# the containing group name may be specified here
|
||||||
group_name: example
|
group_name: example
|
||||||
|
|
Loading…
Add table
Reference in a new issue