update share var validation

pull/274/head
Benjamin Peinhardt 12 months ago
parent 20b465f161
commit cb1f1536ab

@ -10,9 +10,12 @@ terraform {
}
variable "share" {
type = string
description = "The share level of the Coder app. Either 'owner' | 'authenticated' | 'public' "
default = "owner"
type = string
default = "owner"
validation {
condition = var.share == "owner" || var.share == "authenticated" || var.share == "public"
error_message = "Incorrect value. Please set either 'owner', 'authenticated', or 'public'."
}
}
variable "agent_id" {

Loading…
Cancel
Save