mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-07 16:19:01 +00:00
10 lines
280 B
Terraform
10 lines
280 B
Terraform
|
|
variable "environment" {
|
||
|
|
description = "Workspace environment. HCP Terraform sets this per workspace."
|
||
|
|
type = string
|
||
|
|
|
||
|
|
validation {
|
||
|
|
condition = contains(["dev", "staging"], var.environment)
|
||
|
|
error_message = "environment must be one of: dev, staging."
|
||
|
|
}
|
||
|
|
}
|