17 lines
506 B
HCL
17 lines
506 B
HCL
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
variable "aws_ssh_public_key" {
|
|
description = "The public key to use for the ssh key"
|
|
type = string
|
|
}
|
|
|
|
variable "repository" {
|
|
description = "The repository to bootstrap the ci for, either 'vault' or 'vault-enterprise'"
|
|
type = string
|
|
validation {
|
|
condition = contains(["vault", "vault-enterprise"], var.repository)
|
|
error_message = "Repository must be one of either 'vault' or 'vault-enterprise'"
|
|
}
|
|
}
|