29 lines
643 B
Terraform
29 lines
643 B
Terraform
|
|
# Variables for Resource Groups Module
|
||
|
|
|
||
|
|
variable "environment" {
|
||
|
|
description = "Environment (prod, dev, test, staging)"
|
||
|
|
type = string
|
||
|
|
validation {
|
||
|
|
condition = contains(["prod", "dev", "test", "staging"], var.environment)
|
||
|
|
error_message = "Environment must be one of: prod, dev, test, staging"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "location" {
|
||
|
|
description = "Azure region"
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "project_name" {
|
||
|
|
description = "Project name"
|
||
|
|
type = string
|
||
|
|
default = "defi-oracle-mainnet"
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "tags" {
|
||
|
|
description = "Tags to apply to resource groups"
|
||
|
|
type = map(string)
|
||
|
|
default = {}
|
||
|
|
}
|
||
|
|
|