Files
but3-iac/terraform/environements/dev/variables.tf

42 lines
842 B
HCL

# Variables pour le projet GCP
variable "project_id" {
description = "ID du projet GCP"
type = string
default = "mon-projet-gcp-dev"
}
variable "region" {
description = "Région GCP"
type = string
default = "europe-west1"
}
variable "zone" {
description = "Zone GCP"
type = string
default = "europe-west1-b"
}
# Variables pour les subnets
variable "frontend_subnet_id" {
description = "ID du subnet frontend"
type = string
}
variable "backend_subnet_id" {
description = "ID du subnet backend"
type = string
}
variable "database_subnet_id" {
description = "ID du subnet database"
type = string
}
# Type d'instance par défaut
variable "instance_type" {
description = "Type d'instance pour Compute"
type = string
default = "e2-medium"
}