32 lines
503 B
Terraform
32 lines
503 B
Terraform
|
|
// Env vars
|
||
|
|
// ----------------------------------
|
||
|
|
|
||
|
|
variable "project_name" {
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "env" {
|
||
|
|
type = string
|
||
|
|
default = "dev"
|
||
|
|
description = "Environment"
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "region" {
|
||
|
|
type = string
|
||
|
|
default = vars.region
|
||
|
|
description = "GCP Region"
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "zone" {
|
||
|
|
type = string
|
||
|
|
default = vars.zone
|
||
|
|
description = "GCP Zone"
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "app_name" {
|
||
|
|
type = string
|
||
|
|
default = var.app_name
|
||
|
|
description = "Application name"
|
||
|
|
}
|
||
|
|
|