shoc-frontend-new/terraform/variables.tf

10 lines
280 B
Terraform
Raw Normal View History

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."
}
}