test network

This commit is contained in:
SimonSayeBabu 2024-12-04 16:16:32 +01:00
parent 5f4193870f
commit dc72c7b34a

View File

@ -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