9 lines
305 B
HCL
9 lines
305 B
HCL
variable "repository" {
|
|
description = "The GitHub repository, either vault or vault-enterprise"
|
|
type = string
|
|
validation {
|
|
condition = contains(["vault", "vault-enterprise"], var.repository)
|
|
error_message = "Invalid repository, only vault or vault-enterprise are supported"
|
|
}
|
|
}
|