Skip to content

Commit 5a40fa2

Browse files
committed
Update the docs for the AWS security_group_rule resource.
- clarify the description of the from/to port arguments
1 parent 77d76a6 commit 5a40fa2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

website/source/docs/providers/aws/r/security_group_rule.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Only valid with `egress`.
5151
depending on the `type`. Cannot be specified with `cidr_blocks`.
5252
* `self` - (Optional) If true, the security group itself will be added as
5353
a source to this ingress rule.
54-
* `to_port` - (Required) The end range port (or ICMP code if protocol is "icmp").
54+
* `to_port` - (Required) The end port (or ICMP code if protocol is "icmp").
5555

5656
## Usage with prefix list IDs
5757

@@ -80,6 +80,6 @@ The following attributes are exported:
8080

8181
* `id` - The ID of the security group rule
8282
* `type` - The type of rule, `ingress` or `egress`
83-
* `from_port` - The source port
84-
* `to_port` - The destination port
83+
* `from_port` - The start port (or ICMP type number if protocol is "icmp")
84+
* `to_port` - The end port (or ICMP code if protocol is "icmp")
8585
* `protocol` – The protocol used

0 commit comments

Comments
 (0)