27bb03bbc0
* adding copyright header * fix fmt and a test
12 lines
373 B
HCL
12 lines
373 B
HCL
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
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"
|
|
}
|
|
}
|