-
Notifications
You must be signed in to change notification settings - Fork 3
HashiCorp Enterprise
Simone Ripamonti edited this page Mar 16, 2021
·
2 revisions
Caravan supports deploying the enterprise versions of HashiCorp Vault, Consul and Nomad.
caravan-baking supports building gold images with either OpenSource or Enterprise binaries for HashiCorp stack.
By default, the Terraform wrapper used to trigger Packer builds creates both image types:
variable "builds" {
type = list(string)
default = ["caravan.*.enterprise", "caravan.*.opensource"]
description = "Which packer build artifacts to produce"
}
variable "build_image_name" {
type = string
}
//...
The resulting image name follows the following pattern:
-
${var.build_image_name}-os-{{timestamp}}
for OpenSource version -
${var.build_image_name}-ent-{{timestamp}}
for Enterprise version
Once you have built the image with Enterprise binaries, the next steps are:
- Configure the image filter variable in the infrastructure layer to use the Enterprise image instead of the OpenSource one. For example, in Azure you have to change
var.image_name_regex
value:
image_name_regex = "caravan-centos-image-ent-*"
- Provide license files via the dedicated input variables:
consul_license_file = "path/to/consul.hclic"
vault_license_file = "path/to/vault.hclic"
nomad_license_file = "path/to/nomad.hclic"