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: docs/resources/instance_security_group_rules.md
+5
Original file line number
Diff line number
Diff line change
@@ -119,6 +119,11 @@ The `inbound_rule` and `outbound_rule` block supports:
119
119
120
120
-`port`- (Optional) The port this rule apply to. If no port is specified, rule will apply to all port.
121
121
122
+
-`port_range`- Need terraform >= 0.13.0 (Optional) The port range (e.g `22-23`) this rule applies to.
123
+
Port range MUST comply the Scaleway-notation: interval between ports must be a power of 2 `2^X-1` number (e.g 2^13-1=8191 in port_range = "10000-18191").
124
+
If no `port` nor `port_range` are specified, rule will apply to all port.
125
+
Only one of `port` and `port_range` should be specified.
126
+
122
127
-`ip`- (Optional) The ip this rule apply to. If no `ip` nor `ip_range` are specified, rule will apply to all ip. Only one of `ip` and `ip_range` should be specified.
123
128
124
129
-`ip_range`- (Optional) The ip range (e.g `192.168.1.0/24`) this rule applies to. If no `ip` nor `ip_range` are specified, rule will apply to all ip. Only one of `ip` and `ip_range` should be specified.
0 commit comments