2024-12-06 14:44:53 +01:00
|
|
|
variable "instance_type" {
|
|
|
|
description = "type d'instance"
|
|
|
|
type = string
|
2024-12-06 15:15:26 +01:00
|
|
|
default = "e2-micro"
|
2024-12-06 14:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "zone" {
|
|
|
|
description = "zone"
|
|
|
|
type = string
|
|
|
|
default = "europe-west4-a"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "frontend_cidr" {
|
|
|
|
description = "range_front"
|
|
|
|
type = string
|
2024-12-06 15:16:39 +01:00
|
|
|
default = "10.0.1.0/24"
|
2024-12-06 14:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "backend_cidr" {
|
|
|
|
description = "range_back"
|
|
|
|
type = string
|
2024-12-06 15:16:39 +01:00
|
|
|
default = "10.0.2.0/24"
|
2024-12-06 14:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "database_cidr" {
|
|
|
|
description = "range_database"
|
|
|
|
type = string
|
2024-12-06 15:16:39 +01:00
|
|
|
default = "10.0.3.0/24"
|
2024-12-06 14:44:53 +01:00
|
|
|
}
|
|
|
|
|
2024-12-06 15:51:04 +01:00
|
|
|
variable "sub1" {
|
|
|
|
description = "subnet front"
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
variable "sub2" {
|
|
|
|
description = "subnet back"
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
variable "sub3" {
|
|
|
|
description = "subnet database"
|
|
|
|
type = string
|
|
|
|
}
|
2024-12-06 14:44:53 +01:00
|
|
|
|