From dc72c7b34a18f905eab2282e6cc4a67162a89c67 Mon Sep 17 00:00:00 2001 From: SimonSayeBabu Date: Wed, 4 Dec 2024 16:16:32 +0100 Subject: [PATCH] test network --- terraform/modules/network/main.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/terraform/modules/network/main.tf b/terraform/modules/network/main.tf index 090c421..7045851 100644 --- a/terraform/modules/network/main.tf +++ b/terraform/modules/network/main.tf @@ -3,21 +3,21 @@ resource "google_compute_network" "vpc" { auto_create_subnetworks = false } -resource "google_compute_subnetwork" "subnet" { +resource "google_compute_subnetwork" "frontend" { name = "frontend" network = google_compute_network.vpc.id ip_cidr_range = var.frontend_cidr region = var.region } -resource "google_compute_subnetwork" "subnet" { +resource "google_compute_subnetwork" "backend" { name = "backend" network = google_compute_network.vpc.id ip_cidr_range = var.backend_cidr region = var.region } -resource "google_compute_subnetwork" "subnet" { +resource "google_compute_subnetwork" "database" { name = "database" network = google_compute_network.vpc.id ip_cidr_range = var.database_cidr