Skip to content

Commit dd4d173

Browse files
committed
docs: add dest_cidr_list example and 'all' protocol to egress firewall
1 parent ef6f217 commit dd4d173

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

website/docs/r/egress_firewall.html.markdown

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ resource "cloudstack_egress_firewall" "default" {
1717
network_id = "6eb22f91-7454-4107-89f4-36afcdf33021"
1818
1919
rule {
20-
cidr_list = ["10.0.0.0/8"]
21-
protocol = "tcp"
22-
ports = ["80", "1000-2000"]
20+
cidr_list = ["10.0.0.0/8"]
21+
dest_cidr_list = ["192.168.0.0/16"]
22+
protocol = "tcp"
23+
ports = ["80", "1000-2000"]
2324
}
2425
}
2526
```
@@ -48,7 +49,7 @@ The `rule` block supports:
4849
* `dest_cidr_list` - (Optional) A CIDR list to restrict the destination of egress traffic.
4950

5051
* `protocol` - (Required) The name of the protocol to allow. Valid options are:
51-
`tcp`, `udp` and `icmp`.
52+
`tcp`, `udp`, `icmp` and `all`.
5253

5354
* `icmp_type` - (Optional) The ICMP type to allow. This can only be specified if
5455
the protocol is ICMP.

0 commit comments

Comments
 (0)