This commit is contained in:
2024-12-06 16:12:47 +01:00
parent 2c7daea69f
commit 43491ed096
9 changed files with 48 additions and 15 deletions

View File

@@ -1,3 +1,4 @@
# VPC
resource "google_compute_network" "vpc" {
name = "myvpc"
auto_create_subnetworks = false

View File

@@ -1,29 +1,29 @@
#- project_name (string)
variable "project_name" {
description = "Nom du projet"
type = string
}
# - region (string)
variable "region" {
description = "Région du projet"
type = string
}
# - frontend_cidr (string)
variable "frontend_cidr" {
description = "cidr du frontend"
type = string
}
# - backend_cidr (string)
variable "backend_cidr" {
description = "cidr du backend"
type = string
}
# - database_cidr (string)
variable "database_cidr" {
description = "cidr du database"
type = string
}
# - ssh_source_ranges (string)
variable "ssh_source_ranges" {
description = "Accès à internet"
type = string