variable "tier" {
type = string
description = "Resource tiers depending on demanding workload. Allowed values are 'premium', 'standard', 'test'. Note, \"test\" does not support deployment slots."
default = "premium"
validation {
condition = contains(["premium", "standard", "test"], var.tier)
error_message = "Allowed values for \"tier\" are \"premium\", \"standard\", or \"test\". Note, \"test\" does not support deployment slots."
}
}
Issue
tier
is required, but is only needed whenapp_service_plan_id
isnull
Affected modules
Current variable definition