From 5bc65ab504ecb9c79bba22ddd1e856e5f62f494e Mon Sep 17 00:00:00 2001 From: Darius Date: Wed, 4 Dec 2024 16:30:22 +0100 Subject: [PATCH] fix --- tp-cloud/terraform/modules/network/main.tf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tp-cloud/terraform/modules/network/main.tf b/tp-cloud/terraform/modules/network/main.tf index c52d5da..eda1f9c 100644 --- a/tp-cloud/terraform/modules/network/main.tf +++ b/tp-cloud/terraform/modules/network/main.tf @@ -24,8 +24,8 @@ resource "google_compute_subnetwork" "db" { region = var.region } -resource "google_compute_firewall" "allowHttpHttps" { - name = "allowHttpHttps" +resource "google_compute_firewall" "allowhttphttps" { + name = "allow-http-https" network = google_compute_network.vpc.id allow { @@ -37,8 +37,8 @@ resource "google_compute_firewall" "allowHttpHttps" { target_tags = ["web"] } -resource "google_compute_firewall" "allowSsh" { - name = "allowSsh" +resource "google_compute_firewall" "allowssh" { + name = "allow-ssh" network = google_compute_network.vpc.id allow { @@ -51,7 +51,7 @@ resource "google_compute_firewall" "allowSsh" { } -resource "google_compute_firewall" "frontToBack" { +resource "google_compute_firewall" "fronttoback" { name = "front-to-back" network = google_compute_network.vpc.id @@ -64,8 +64,8 @@ resource "google_compute_firewall" "frontToBack" { target_tags = ["backend"] } -resource "google_compute_firewall" "backToDb" { - name = "backToDb" +resource "google_compute_firewall" "backtodb" { + name = "back-to-db" network = google_compute_network.vpc.id allow {