From 2d36ce64825f41d0a61476651f32b8ed4a8b125b Mon Sep 17 00:00:00 2001 From: SimonSayeBabu Date: Wed, 4 Dec 2024 16:30:26 +0100 Subject: [PATCH] test network --- terraform/modules/network/main.tf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/terraform/modules/network/main.tf b/terraform/modules/network/main.tf index 7045851..435e3ef 100644 --- a/terraform/modules/network/main.tf +++ b/terraform/modules/network/main.tf @@ -24,8 +24,8 @@ resource "google_compute_subnetwork" "database" { region = var.region } -resource "google_compute_firewall" "allow_http-https" { - name = "allow_http-https" +resource "google_compute_firewall" "allowHttpHttps" { + name = "allowHttpHttps" network = google_compute_network.vpc.id allow { @@ -37,8 +37,8 @@ resource "google_compute_firewall" "allow_http-https" { target_tags = ["web"] } -resource "google_compute_firewall" "allow_ssh" { - name = "allow-ssh" +resource "google_compute_firewall" "allowSsh" { + name = "allowSsh" network = google_compute_network.vpc.id allow { @@ -50,8 +50,8 @@ resource "google_compute_firewall" "allow_ssh" { target_tags = ["ssh"] } -resource "google_compute_firewall" "front-to-back" { - name = "front-to-back" +resource "google_compute_firewall" "frontToBack" { + name = "frontToBack" 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" "backToDb" { + name = "backToDb" network = google_compute_network.vpc.id allow {