Files
infrastructure/terraform/prod__firewall.tf

22 lines
324 B
HCL

resource "hcloud_firewall" "production_fw" {
name = "production-fw"
rule {
direction = "in"
protocol = "icmp"
source_ips = [
"0.0.0.0/0",
"::/0"
]
}
rule {
direction = "in"
protocol = "tcp"
port = "80-85"
source_ips = [
"0.0.0.0/0",
"::/0"
]
}
}