diff --git a/main.tf b/main.tf index 29c85b5..e261436 100644 --- a/main.tf +++ b/main.tf @@ -34,6 +34,15 @@ resource "hcloud_firewall" "default" { ] port = "3000" } + rule { + description = "postgres" + direction = "in" + protocol = "tcp" + source_ips = [ + "0.0.0.0/0" + ] + port = "5432" + } rule { description = "http" direction = "in"