You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/source/docs/providers/aws/r/security_group.html.markdown
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ The `ingress` block supports:
87
87
*`cidr_blocks` - (Optional) List of CIDR blocks.
88
88
*`from_port` - (Required) The start port (or ICMP type number if protocol is "icmp")
89
89
*`protocol` - (Required) The protocol. If you select a protocol of
90
-
"-1", you must specify a "from_port" and "to_port" equal to 0.
90
+
"-1", you must specify a "from_port" and "to_port" equal to 0. If not icmp, tcp, udp, or all use the [protocol number](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)
91
91
*`security_groups` - (Optional) List of security group Group Names if using
92
92
EC2-Classic, or Group IDs if using a VPC.
93
93
*`self` - (Optional) If true, the security group itself will be added as
@@ -100,7 +100,7 @@ The `egress` block supports:
100
100
*`prefix_list_ids` - (Optional) List of prefix list IDs (for allowing access to VPC endpoints)
101
101
*`from_port` - (Required) The start port (or ICMP type number if protocol is "icmp")
102
102
*`protocol` - (Required) The protocol. If you select a protocol of
103
-
"-1", you must specify a "from_port" and "to_port" equal to 0.
103
+
"-1", you must specify a "from_port" and "to_port" equal to 0. If not icmp, tcp, udp, or all use the [protocol number](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)
104
104
*`security_groups` - (Optional) List of security group Group Names if using
105
105
EC2-Classic, or Group IDs if using a VPC.
106
106
*`self` - (Optional) If true, the security group itself will be added as
@@ -156,7 +156,7 @@ The following attributes are exported:
156
156
157
157
## Import
158
158
159
-
Security Groups can be imported using the `security group id`, e.g.
159
+
Security Groups can be imported using the `security group id`, e.g.
Copy file name to clipboardExpand all lines: website/source/docs/providers/aws/r/security_group_rule.html.markdown
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ or `egress` (outbound).
45
45
*`prefix_list_ids` - (Optional) List of prefix list IDs (for allowing access to VPC endpoints).
46
46
Only valid with `egress`.
47
47
*`from_port` - (Required) The start port (or ICMP type number if protocol is "icmp").
48
-
*`protocol` - (Required) The protocol.
48
+
*`protocol` - (Required) The protocol. If not icmp, tcp, udp, or all use the [protocol number](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)
49
49
*`security_group_id` - (Required) The security group to apply this rule to.
50
50
*`source_security_group_id` - (Optional) The security group id to allow access to/from,
51
51
depending on the `type`. Cannot be specified with `cidr_blocks`.
0 commit comments