Terraform Enterprise Flexible Deployment Options upgrade
Follow these steps to upgrade Terraform Enterprise.
We recommend upgrading a non-production environment before upgrading your production instance of Terraform Enterprise.
We recommend backing up your Terraform Enterprise data before upgrading. For best practices, refer to our recommended patterns for backing up and restoring your data.
Stop terraform runs by draining instance nodes.
For a multi-node setup, scale down to a single node.
Stop the Terraform Enterprise application.
For installs that use Docker Compose, use the following command:
Pull the new Terraform Enterprise Flexible Deployment Options image for a specific release:
images.releases.hashicorp.com/hashicorp/terraform-enterprise:vYYYYMM-#
.For installs that use Docker Compose, update the
compose.yaml
with the appropriate image tag:Start the Terraform Enterprise application with the new image.
For installs that use Docker Compose, use the following command:
Repeat the process for the production instance of Terraform Enterprise.