open firewall for database
This commit is contained in:
9
main.tf
9
main.tf
@ -34,6 +34,15 @@ resource "hcloud_firewall" "default" {
|
|||||||
]
|
]
|
||||||
port = "3000"
|
port = "3000"
|
||||||
}
|
}
|
||||||
|
rule {
|
||||||
|
description = "postgres"
|
||||||
|
direction = "in"
|
||||||
|
protocol = "tcp"
|
||||||
|
source_ips = [
|
||||||
|
"0.0.0.0/0"
|
||||||
|
]
|
||||||
|
port = "5432"
|
||||||
|
}
|
||||||
rule {
|
rule {
|
||||||
description = "http"
|
description = "http"
|
||||||
direction = "in"
|
direction = "in"
|
||||||
|
Reference in New Issue
Block a user