diff --git a/terraform/modules/network/main.tf b/terraform/modules/network/main.tf index 3688c6f..bf5f858 100644 --- a/terraform/modules/network/main.tf +++ b/terraform/modules/network/main.tf @@ -51,7 +51,7 @@ resource "google_compute_firewall" "allow-ssh" { } resource "google_compute_firewall" "front-to-back" { - name = "front-to_back" + name = "front-to-back" network = google_compute_network.vpc.id allow { @@ -63,8 +63,8 @@ resource "google_compute_firewall" "front-to-back" { target_tags = ["backend"] } -resource "google_compute_firewall" "back_to_db" { - name = "back_to_db" +resource "google_compute_firewall" "back-to-db" { + name = "back-to-db" network = google_compute_network.vpc.id allow {