Files
but3-iac/tp-cloud/terraform/modules/compute/variables.tf

33 lines
529 B
Terraform
Raw Normal View History

2025-12-03 16:46:11 +01:00
# À vous de définir les variables pour :
# - instance_type
# - zone
# - frontend_subnet_id
# - backend_subnet_id
# - database_subnet_id
variable "instance_type" {
2025-12-04 09:40:14 +01:00
description = "type de l'instance"
2025-12-03 16:46:11 +01:00
type = string
}
variable "zone" {
2025-12-04 09:40:14 +01:00
description = "région"
2025-12-03 16:46:11 +01:00
type = string
}
variable "frontend_subnet_id" {
2025-12-04 09:40:14 +01:00
description = "front-end id"
type = string
2025-12-03 16:46:11 +01:00
}
variable "backend_subnet_id" {
2025-12-04 09:40:14 +01:00
description = "back-end id"
type = string
2025-12-03 16:46:11 +01:00
}
variable "database_subnet_id" {
2025-12-04 09:40:14 +01:00
description = "database id"
type = string
2025-12-03 16:46:11 +01:00
}