summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2018-12-27 12:56:20 -0500
committerAlec Warner <antarus@gentoo.org>2018-12-27 12:56:20 -0500
commit0698a752ba67ee8a1387ff0220465f87a5a4ca85 (patch)
tree3fb2be83a60f94638f2bb1c262363c037434d5ab /src
parentAdd firewall rule. (diff)
downloadantarus-0698a752ba67ee8a1387ff0220465f87a5a4ca85.tar.gz
antarus-0698a752ba67ee8a1387ff0220465f87a5a4ca85.tar.bz2
antarus-0698a752ba67ee8a1387ff0220465f87a5a4ca85.zip
Add a default network to make firewall happy.
Signed-off-by: Alec Warner <antarus@gentoo.org>
Diffstat (limited to 'src')
-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"
+}