Add hcloud provider configuration and firewall resource

This commit is contained in:
2025-12-22 23:05:16 +01:00
parent fcc9bf60be
commit 3e3837aede
3 changed files with 34 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
resource "hcloud_firewall" "production_fw" {
name = "my-firewall"
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"
]
}
}