Terraform
Terraform Enterprise Flexible Deployment Options upgrade
Follow these steps to upgrade Terraform Enterprise.
It is recommended to upgrade a non-production environment first before upgrading the production instance of Terraform Enterprise.
It is recommended to backup Terraform Enterprise data before upgrading.
Stop terraform runs by draining instance nodes.
For a multi-node setup, scale down to a single node.
Stop the Terraform Enterprise application.
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:name: terraform-enterprise services: tfe: image: images.releases.hashicorp.com/hashicorp/terraform-enterprise:<vYYYYMM-#>
- For installs that use Helm charts, update the
values.yaml
with the appropriate image tag:image: repository: images.releases.hashicorp.com name: hashicorp/terraform-enterprise tag: <vYYYYMM-#>
Start the Terraform Enterprise application with the new image.
Repeat the process for the production instance of Terraform Enterprise.