WIP: fix compute and network terraform plan

This commit is contained in:
2025-12-04 09:08:52 +01:00
parent 9f94e670cb
commit f0f493c212
2 changed files with 10 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ terraform {
} }
provider "google" { provider "google" {
project = var.project_id project = var.project_name
region = var.region region = var.region
} }

View File

@@ -7,23 +7,23 @@ variable "project_name" {
variable "region" { variable "region" {
description = "region de l'instance" description = "region de l'instance"
type = string type = string
default = "europe-west9b" default = "europe-west1-b"
}
variable "backend_cidr" {
description = "cidr du backend"
type = string
default = "10.0.2.0/24"
} }
variable "frontend_cidr" { variable "frontend_cidr" {
description = "cidr du frontend" description = "CIDR for frontend subnet"
type = string type = string
default = "10.0.1.0/24" default = "10.0.1.0/24"
} }
variable "backend_cidr" {
description = "CIDR for backend subnet"
type = string
default = "10.0.2.0/24"
}
variable "database_cidr" { variable "database_cidr" {
description = "cidr de la DB" description = "CIDR for database subnet"
type = string type = string
default = "10.0.3.0/24" default = "10.0.3.0/24"
} }