9da2fc4b8b
Rather than assuming a short sleep will work, we instead wait until netcat is listening of the socket. We've also configured the netcat listener to persist after the first connection, which allows Vault and us to check the connection without the process closing. As we implemented this we also ran into AWS issues in us-east-1 and us-west-2, so we've changed our deploy regions until those issues are resolved. Signed-off-by: Ryan Cragun <me@ryan.ec>
43 lines
1.1 KiB
HCL
43 lines
1.1 KiB
HCL
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
variable "context_name" {
|
|
type = string
|
|
description = "The name of the k8s context for Vault"
|
|
}
|
|
|
|
variable "ent_license" {
|
|
type = string
|
|
description = "The value of a valid Vault Enterprise license"
|
|
}
|
|
|
|
variable "image_repository" {
|
|
type = string
|
|
description = "The name of the Vault repository, ie hashicorp/vault or hashicorp/vault-enterprise for the image to deploy"
|
|
}
|
|
|
|
variable "image_tag" {
|
|
type = string
|
|
description = "The tag of the vault image to deploy"
|
|
}
|
|
|
|
variable "kubeconfig_base64" {
|
|
type = string
|
|
description = "The base64 encoded version of the Kubernetes configuration file"
|
|
}
|
|
|
|
variable "vault_edition" {
|
|
type = string
|
|
description = "The Vault product edition"
|
|
}
|
|
|
|
variable "vault_instance_count" {
|
|
type = number
|
|
description = "How many vault instances are in the cluster"
|
|
}
|
|
|
|
variable "vault_log_level" {
|
|
description = "The server log level for Vault logs. Supported values (in order of detail) are trace, debug, info, warn, and err."
|
|
type = string
|
|
}
|