Update the docs for the AWS security_group_rule resource.

- clarify the description of the from/to port arguments
This commit is contained in:
Dave Walter 2016-10-12 12:24:45 -07:00
parent 77d76a69ba
commit 5a40fa2914
1 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ Only valid with `egress`.
depending on the `type`. Cannot be specified with `cidr_blocks`.
* `self` - (Optional) If true, the security group itself will be added as
a source to this ingress rule.
* `to_port` - (Required) The end range port (or ICMP code if protocol is "icmp").
* `to_port` - (Required) The end port (or ICMP code if protocol is "icmp").
## Usage with prefix list IDs
@ -80,6 +80,6 @@ The following attributes are exported:
* `id` - The ID of the security group rule
* `type` - The type of rule, `ingress` or `egress`
* `from_port` - The source port
* `to_port` - The destination port
* `from_port` - The start port (or ICMP type number if protocol is "icmp")
* `to_port` - The end port (or ICMP code if protocol is "icmp")
* `protocol`  The protocol used