plan fonctionnel

This commit is contained in:
vaisse
2025-12-04 10:32:17 +00:00
parent b22f251702
commit 89d8a79231
5 changed files with 75 additions and 42 deletions

View File

@@ -13,10 +13,10 @@ provider "google" {
}
module "network" {
source = "../../modules/network"
project_name = var.project_name
region = var.region
frontend_cidr = var.frontend_cidr
backend_cidr = var.backend_cidr
database_cidr = var.database_cidr
source = "../../modules/network"
project_name = var.project_name
region = var.region
frontend_cidr = var.frontend_cidr
backend_cidr = var.backend_cidr
database_cidr = var.database_cidr
}

View File

@@ -0,0 +1,9 @@
{
"version": 4,
"terraform_version": "1.14.1",
"serial": 1,
"lineage": "da2290d8-f11d-ccf7-84e7-3247a89ead2c",
"outputs": {},
"resources": [],
"check_results": null
}

View File

@@ -16,26 +16,26 @@ variable "database_cidr" {
default = "10.0.3.0/24"
}
variable "project_name"{
variable "project_name" {
description = "name of the project"
type = string
default = "10.0.4.0/24"
type = string
default = "10.0.4.0/24"
}
variable "region"{
variable "region" {
description = "region of the project"
type = string
default = "10.0.5.0/24"
type = string
default = "10.0.5.0/24"
}
variable "project_id"{
variable "project_id" {
description = "id of the project"
type = string
default = "10.0.6.0/24"
type = string
default = "10.0.6.0/24"
}
variable "ssh_source_ranges"{
variable "ssh_source_ranges" {
description = "range of sources"
type = string
default = "10.0.7.0/24"
type = string
default = "10.0.7.0/24"
}