Next Bug Fix
This commit is contained in:
@@ -38,6 +38,11 @@ variable "environment" {
|
||||
variable "openresty_source_type" {
|
||||
description = "OpenResty config source: 'bind_mount', 'local_build', or 'git_clone'."
|
||||
type = string
|
||||
|
||||
validation {
|
||||
condition = contains(["bind_mount", "local_build", "git_clone"], var.openresty_source_type)
|
||||
error_message = "openresty_source_type must be 'bind_mount', 'local_build', or 'git_clone'."
|
||||
}
|
||||
}
|
||||
|
||||
variable "openresty_image" {
|
||||
|
||||
Reference in New Issue
Block a user