fix finaux

This commit is contained in:
Lucas BERGER 2024-12-06 15:39:48 +00:00
parent 7b1ff431c0
commit f811f22f90
7 changed files with 632 additions and 1166 deletions

View File

@ -1,8 +0,0 @@
[defaults]
host_key_checking = False
inventory = gcp_compute.yml
interpreter_python = auto_silent
remote_user = berger_lu2004_gmail_com
[inventory]
enable_plugins = gcp_compute, auto, host_list, yaml, ini, toml, script

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -1,40 +1,40 @@
#- project_name (string)
#nom de projet
variable "project_name" {
description = "Nom du projet"
type = string
default = "automatisation-tp"
}
#- project_id (string)
# id de projet
variable "project_id" {
description = "ID du projet"
type = string
default = "automatisation-tp"
}
# - region (string)
# la region
variable "region" {
description = "Région du projet"
type = string
default = "us-central1"
}
# - frontend_cidr (string)
# frontend
variable "frontend_cidr" {
description = "cidr du frontend"
type = string
default = "10.0.1.0/24"
}
# - backend_cidr (string)
# backend
variable "backend_cidr" {
description = "cidr du backend"
type = string
default = "10.0.2.0/24"
}
# - database_cidr (string)
# database
variable "database_cidr" {
description = "cidr du database"
type = string
default = "10.0.3.0/24"
}
# - ssh_source_ranges (string)
# source ssh
variable "ssh_source_ranges" {
description = "Accès à internet"
type = string

View File

@ -27,7 +27,7 @@ variable "database_cidr" {
type = string
default = "10.0.3.0/24"
}
# variables (network)
variable "ssh_source_ranges" {
description = "ssh access"
type = string

View File

@ -0,0 +1,9 @@
{
"version": 4,
"terraform_version": "1.10.1",
"serial": 1,
"lineage": "64e94aea-a8be-47e6-ac8d-a55010e54ac4",
"outputs": {},
"resources": [],
"check_results": null
}