This commit is contained in:
Jean-Luc NELET 2024-12-04 17:18:29 +01:00
parent 8c96d19d4f
commit 630689db38

View File

@ -3,7 +3,7 @@ resource "google_compute_network" "vpc" {
auto_create_subnetworks = false auto_create_subnetworks = false
} }
resource "google_compute_subnetwork" "frontend" { resource "google_compute_subnetwork" "frontendsub" {
name = "frontend" name = "frontend"
network = google_compute_network.vpc.id network = google_compute_network.vpc.id
ip_cidr_range = var.frontend_cidr ip_cidr_range = var.frontend_cidr