docs: ICMP type number goes in from_port in AWS SG rules

refs #1372
This commit is contained in:
Paul Hinze 2016-03-10 19:22:47 -06:00
parent 618fc4370e
commit d447eac958
2 changed files with 3 additions and 3 deletions

View File

@ -84,7 +84,7 @@ assign a random, unique name
The `ingress` block supports: The `ingress` block supports:
* `cidr_blocks` - (Optional) List of CIDR blocks. * `cidr_blocks` - (Optional) List of CIDR blocks.
* `from_port` - (Required) The start port. * `from_port` - (Required) The start port (or ICMP type number if protocol is "icmp")
* `protocol` - (Required) The protocol. If you select a protocol of * `protocol` - (Required) The protocol. If you select a protocol of
"-1", you must specify a "from_port" and "to_port" equal to 0. "-1", you must specify a "from_port" and "to_port" equal to 0.
* `security_groups` - (Optional) List of security group Group Names if using * `security_groups` - (Optional) List of security group Group Names if using
@ -96,7 +96,7 @@ The `ingress` block supports:
The `egress` block supports: The `egress` block supports:
* `cidr_blocks` - (Optional) List of CIDR blocks. * `cidr_blocks` - (Optional) List of CIDR blocks.
* `from_port` - (Required) The start port. * `from_port` - (Required) The start port (or ICMP type number if protocol is "icmp")
* `protocol` - (Required) The protocol. If you select a protocol of * `protocol` - (Required) The protocol. If you select a protocol of
"-1", you must specify a "from_port" and "to_port" equal to 0. "-1", you must specify a "from_port" and "to_port" equal to 0.
* `security_groups` - (Optional) List of security group Group Names if using * `security_groups` - (Optional) List of security group Group Names if using

View File

@ -42,7 +42,7 @@ The following arguments are supported:
* `type` - (Required) The type of rule being created. Valid options are `ingress` (inbound) * `type` - (Required) The type of rule being created. Valid options are `ingress` (inbound)
or `egress` (outbound). or `egress` (outbound).
* `cidr_blocks` - (Optional) List of CIDR blocks. * `cidr_blocks` - (Optional) List of CIDR blocks.
* `from_port` - (Required) The start port. * `from_port` - (Required) The start port (or ICMP type number if protocol is "icmp").
* `protocol` - (Required) The protocol. * `protocol` - (Required) The protocol.
* `security_group_id` - (Required) The security group to apply this rule to. * `security_group_id` - (Required) The security group to apply this rule to.
* `source_security_group_id` - (Optional) The security group id to allow access to/from, * `source_security_group_id` - (Optional) The security group id to allow access to/from,