This commit is contained in:
Jean-Luc NELET 2024-12-04 17:34:35 +01:00
parent 630689db38
commit f6ba2a782a

View File

@ -3,7 +3,7 @@ resource "google_compute_network" "vpc" {
auto_create_subnetworks = false auto_create_subnetworks = false
} }
resource "google_compute_subnetwork" "frontendsub" { resource "google_compute_subnetwork" "frontend" {
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