summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/infra.gentoo.org/rsync.tf')
-rw-r--r--src/infra.gentoo.org/rsync.tf5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/infra.gentoo.org/rsync.tf b/src/infra.gentoo.org/rsync.tf
index 2e278ac..795926e 100644
--- a/src/infra.gentoo.org/rsync.tf
+++ b/src/infra.gentoo.org/rsync.tf
@@ -73,9 +73,14 @@ resource "google_compute_region_autoscaler" "rsync-autoscaler" {
resource "google_compute_firewall" "rsync-in" {
name = "rsync-in"
+ network = "${google_compute_network.default.self_link}"
allow {
protocol = "tcp"
ports = ["873"]
}
target_tags = ["rsync"]
}
+
+resource "google_compute_network" "default" {
+ name = "default"
+}