48 lines
779 B
HCL
48 lines
779 B
HCL
variable "instance_type" {
|
|
description = "type d'instance"
|
|
type = string
|
|
default = "e2-micro"
|
|
}
|
|
|
|
variable "zone" {
|
|
description = "zone"
|
|
type = string
|
|
default = "europe-west4-a"
|
|
}
|
|
|
|
variable "frontend_cidr" {
|
|
description = "range_front"
|
|
type = string
|
|
default = "10.0.1.0/24"
|
|
}
|
|
|
|
variable "backend_cidr" {
|
|
description = "range_back"
|
|
type = string
|
|
default = "10.0.2.0/24"
|
|
}
|
|
|
|
variable "database_cidr" {
|
|
description = "range_database"
|
|
type = string
|
|
default = "10.0.3.0/24"
|
|
}
|
|
|
|
variable "sub1" {
|
|
description = "subnet front"
|
|
type = string
|
|
}
|
|
|
|
|
|
variable "sub2" {
|
|
description = "subnet back"
|
|
type = string
|
|
}
|
|
|
|
|
|
variable "sub3" {
|
|
description = "subnet database"
|
|
type = string
|
|
}
|
|
|