DEV5.6_TP07/terraform/environments/dev/variables.tf

53 lines
1005 B
Terraform
Raw Normal View History

2024-12-04 16:25:11 +01:00
variable "project_name"{
description = "nom du projet"
type = string
2024-12-04 16:34:00 +01:00
default = "Cours-virtu"
}
variable "project_id"{
description = "identifiant du projet"
type = string
2024-12-04 16:25:11 +01:00
default = "cours-virtu"
}
variable "region"{
description = "region du projet"
type = string
default = "europe-west4"
}
variable "frontend_cidr"{
description = "sous réseau frontend"
type = string
default = "10.0.1.0/24"
}
variable "backend_cidr"{
description = "sous réseau backend"
type = string
default = "10.0.2.0/24"
}
variable "database_cidr"{
description = "sous réseau database"
type = string
default = "10.0.3.0/24"
}
variable "ssh_source_ranges"{
description = "source range ssh"
type = string
default = "0.0.0.0/0"
2024-12-04 17:14:08 +01:00
}
variable "zone"{
description = "region du projet"
type = string
default = "europe-west4-b"
}
variable "instance_type"{
description = "type d'instance"
type = string
default = "e2-small"
2024-12-04 16:25:11 +01:00
}