2026-04-06 15:48:37 +05:30
|
|
|
# Copyright IBM Corp. 2020, 2026
|
2023-02-02 17:15:17 -08:00
|
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
|
|
2022-12-12 13:48:10 -05:00
|
|
|
variable "repository" {
|
|
|
|
|
description = "The GitHub repository, either boundary, boundary-enterprise, or boundary-hcp"
|
|
|
|
|
type = string
|
|
|
|
|
validation {
|
|
|
|
|
condition = contains(["boundary", "boundary-enterprise", "boundary-hcp"], var.repository)
|
|
|
|
|
error_message = "Invalid repository, only boundary, boundary-enterprise, and boundary-hcp are supported"
|
|
|
|
|
}
|
|
|
|
|
}
|