This commit is contained in:
Florian GENIQUE 2024-12-06 15:25:37 +01:00
parent 0c522bf91d
commit bfecc2baaf

View File

@ -26,7 +26,7 @@ resource "google_compute_subnetwork" "subnet_db" {
} }
resource "google_compute_firewall" "allow_http" { resource "google_compute_firewall" "allow_http" {
name = "allow_http" name = "allow-http"
network = google_compute_network.vpc.id network = google_compute_network.vpc.id
allow { allow {
@ -52,7 +52,7 @@ resource "google_compute_firewall" "allow_ssh" {
} }
resource "google_compute_firewall" "allow_frontend_to_backend" { resource "google_compute_firewall" "allow_frontend_to_backend" {
name = "allow_frontend_to_backend" name = "allow-frontend-to-backend"
network = google_compute_network.vpc.id network = google_compute_network.vpc.id
allow { allow {
@ -65,7 +65,7 @@ resource "google_compute_firewall" "allow_frontend_to_backend" {
} }
resource "google_compute_firewall" "allow_backend_to_database" { resource "google_compute_firewall" "allow_backend_to_database" {
name = "allow_backend_to_database" name = "allow-backend-to-database"
network = google_compute_network.vpc.id network = google_compute_network.vpc.id
allow { allow {