From 7e2af701ad7add308ee8b1d9cd0c6d8fcfbf8c8b Mon Sep 17 00:00:00 2001 From: thuret Date: Wed, 4 Dec 2024 16:43:10 +0100 Subject: [PATCH] update network main --- terraform/modules/network/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/modules/network/main.tf b/terraform/modules/network/main.tf index 7c19b56..e9e0768 100644 --- a/terraform/modules/network/main.tf +++ b/terraform/modules/network/main.tf @@ -55,7 +55,7 @@ resource "google_compute_firewall" "allow_ssh" { target_tags = ["ssh"] } -resource "google_compute_firewall" "allow_front-back" { +resource "google_compute_firewall" "allow_front_back" { name = "allow-front-back" network = google_compute_network.tp07.id @@ -68,7 +68,7 @@ resource "google_compute_firewall" "allow_front-back" { target_tags = ["backend"] } -resource "google_compute_firewall" "allow_back-database" { +resource "google_compute_firewall" "allow_back_database" { name = "allow-front-back" network = google_compute_network.tp07.id