Merge pull request #9341 from davewalter/master

Update the docs for the AWS security_group_rule resource.
This commit is contained in:
Clint 2016-10-12 14:50:47 -05:00 committed by GitHub
commit 961c8f9d97
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`. depending on the `type`. Cannot be specified with `cidr_blocks`.
* `self` - (Optional) If true, the security group itself will be added as * `self` - (Optional) If true, the security group itself will be added as
a source to this ingress rule. 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 ## Usage with prefix list IDs
@ -80,6 +80,6 @@ The following attributes are exported:
* `id` - The ID of the security group rule * `id` - The ID of the security group rule
* `type` - The type of rule, `ingress` or `egress` * `type` - The type of rule, `ingress` or `egress`
* `from_port` - The source port * `from_port` - The start port (or ICMP type number if protocol is "icmp")
* `to_port` - The destination port * `to_port` - The end port (or ICMP code if protocol is "icmp")
* `protocol`  The protocol used * `protocol`  The protocol used