From 5a40fa2914bb23c71ae8ab8dd015eeee81e0d843 Mon Sep 17 00:00:00 2001 From: Dave Walter Date: Wed, 12 Oct 2016 12:24:45 -0700 Subject: [PATCH] Update the docs for the AWS security_group_rule resource. - clarify the description of the from/to port arguments --- .../docs/providers/aws/r/security_group_rule.html.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/source/docs/providers/aws/r/security_group_rule.html.markdown b/website/source/docs/providers/aws/r/security_group_rule.html.markdown index 0e4a2f37b..cc249751a 100644 --- a/website/source/docs/providers/aws/r/security_group_rule.html.markdown +++ b/website/source/docs/providers/aws/r/security_group_rule.html.markdown @@ -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