2023-03-15 16:00:52 +00:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
2023-11-16 19:59:47 +00:00
|
|
|
# SPDX-License-Identifier: MPL-2.0
|
2023-03-15 16:00:52 +00:00
|
|
|
|
2022-11-30 17:44:02 +00:00
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|