diff options
author | Alec Warner <antarus@gentoo.org> | 2018-12-27 12:56:20 -0500 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2018-12-27 12:56:20 -0500 |
commit | 0698a752ba67ee8a1387ff0220465f87a5a4ca85 (patch) | |
tree | 3fb2be83a60f94638f2bb1c262363c037434d5ab /src | |
parent | Add firewall rule. (diff) | |
download | antarus-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.tf | 5 |
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" +} |