Unverified Commit 423e68b5 authored by John T Skarbek's avatar John T Skarbek
Browse files

Adds a firewall rule for gprd to allow dr postgres traffic

* Created this in the gprd environment specifically as we don't have geo
in staging
* Targets the postgres service port for all nodes labeled patroni
parent 19318496
resource "google_compute_firewall" "allow-dr-postgres" {
name = "allow-dr-postgres"
description = "Allows postgres traffic from our DR environment into gprd"
network = "${google_compute_network.main.self_link}"
allow {
protocol = "tcp"
ports = [
"5432",
]
}
source_ranges = [
"10.251.9.0/24",
]
target_tags = [
"patroni",
]
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment