diff --git a/modules/network/main.tf b/modules/network/main.tf index 6baee7d..a035a13 100644 --- a/modules/network/main.tf +++ b/modules/network/main.tf @@ -26,7 +26,7 @@ resource "google_compute_subnetwork" "subnet_db" { } resource "google_compute_firewall" "allow_http" { - name = "allow_http" + name = "allow-http" network = google_compute_network.vpc.id allow { @@ -52,7 +52,7 @@ resource "google_compute_firewall" "allow_ssh" { } resource "google_compute_firewall" "allow_frontend_to_backend" { - name = "allow_frontend_to_backend" + name = "allow-frontend-to-backend" network = google_compute_network.vpc.id allow { @@ -65,7 +65,7 @@ resource "google_compute_firewall" "allow_frontend_to_backend" { } resource "google_compute_firewall" "allow_backend_to_database" { - name = "allow_backend_to_database" + name = "allow-backend-to-database" network = google_compute_network.vpc.id allow {