forked from pierront/but3-iac
tp
This commit is contained in:
73
terraform/environments/dev/variables.tf
Normal file
73
terraform/environments/dev/variables.tf
Normal file
@@ -0,0 +1,73 @@
|
||||
|
||||
variable "project_id" {
|
||||
description = "ID du projet"
|
||||
type = string
|
||||
default = "affable-framing-478713-b6"
|
||||
}
|
||||
|
||||
variable "region" {
|
||||
description = "région du projet"
|
||||
type = string
|
||||
default = "europe-west9"
|
||||
}
|
||||
|
||||
variable "zone" {
|
||||
description = "zone du projet"
|
||||
type = string
|
||||
default = "europe-west9-b"
|
||||
}
|
||||
|
||||
|
||||
variable "project_name" {
|
||||
description = "nom du projet"
|
||||
type = string
|
||||
default = "tp-iac"
|
||||
}
|
||||
|
||||
variable "frontend_cidr" {
|
||||
description = "CIDR du front"
|
||||
type = string
|
||||
default = "10.0.1.0/24"
|
||||
}
|
||||
|
||||
|
||||
variable "backend_cidr" {
|
||||
description = "CIDR for backend subnet"
|
||||
type = string
|
||||
default = "10.0.2.0/24"
|
||||
}
|
||||
|
||||
variable "database_cidr" {
|
||||
description = "CIDR for database subnet"
|
||||
type = string
|
||||
default = "10.0.3.0/24"
|
||||
}
|
||||
|
||||
variable "ssh_source_ranges" {
|
||||
description = "ranges ssh"
|
||||
type = string
|
||||
default = "0.0.0.0/0"
|
||||
}
|
||||
|
||||
|
||||
|
||||
variable "instance_type" {
|
||||
description = "type de machine sur les instances"
|
||||
type = string
|
||||
default = "e2-small"
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user