Skip to content

Commit 23a004b

Browse files
authored
Merge pull request #4 from rchenzheng/allow_udp_n_tcp
Fix outbound rules
2 parents 3745ab0 + 776abc8 commit 23a004b

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

main.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ resource "digitalocean_firewall" "default" {
4343
port_range = "1-65535"
4444
destination_addresses = ["0.0.0.0/0", "::/0"]
4545
}
46+
47+
outbound_rule {
48+
protocol = "udp"
49+
port_range = "1-65535"
50+
destination_addresses = ["0.0.0.0/0", "::/0"]
51+
}
52+
4653
tags = [
4754
module.labels.name,
4855
module.labels.application,

outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#Module : SSH KEY
2-
#Description : Provides a DigitalOcean SSH key resource to allow you to manage SSH keys for Droplet access.
1+
#Module : Firewall
2+
#Description : Provides a DigitalOcean Cloud Firewall resource. This can be used to create, modify, and delete Firewalls.
33
output "id" {
44
value = join("", digitalocean_firewall.default.*.id)
55
description = "A unique ID that can be used to identify and reference a Firewall."
File renamed without changes.

0 commit comments

Comments
 (0)