Terraform
- Terraform Enterprise
- 1.0.x (latest)
- v202507-1
- v202506-1
- v202505-1
- v202504-1
- v202503-1
- v202502-2
- v202502-1
- v202501-1
- v202411-2
- v202411-1
- v202410-1
- v202409-3
- v202409-2
- v202409-1
- No versions of this document exist before v202408-1. Click below to redirect to the version homepage.
- v202408-1
- v202407-1
- v202406-1
- v202405-1
- v202404-2
- v202404-1
- v202402-2
- v202402-1
- v202401-2
- v202401-1
- v202312-1
- v202311-1
- v202310-1
- v202309-1
- v202307-1
- v202306-1
- v202305-2
- v202305-1
- v202304-1
- v202303-1
- v202302-1
- v202301-2
- v202301-1
- v202212-2
- v202212-1
- v202211-1
- v202210-1
- v202209-2
- v202209-1
- v202208-3
- v202208-2
- v202208-1
- v202207-2
- v202207-1
- v202206-1
Upgrading
This section explains how to upgrade Terraform Enterprise to a new version. Learn more about availability during upgrades here.
Before Upgrade
We strongly recommend the following:
- Create a backup copy of the storage prior to upgrading your instance. Backup and restore responsibility varies depending on your Terraform Enterprise operation mode.
- Review the general Terraform Enterprise requirements, including credentials, hardware, operating system, data storage, and network.
- Review the upgrade requirements and release notes for the specific Terraform Enterprise release.
- Review the Upgrading TFE or Patching TFE Node Instances for your Terraform Enterprise active/active architecture.
Online
Replicated Console
- From the installer dashboard (https://<TFE HOSTNAME>:8800/dashboard), click the "Check Now" button. Terraform recognizes the new version.
- Click "View Update".
- Review the release notes and then click "Install Update".
Replicated Command Line Interface
- Connect to the Terraform Enterprise host machine using SSH. 
- Fetch the versions of Terraform Enterprise. - $ replicatedctl app-release ls --fetch
- Upgrade to the latest version of Terraform Enterprise. - $ replicatedctl app-release apply- Alternatively, upgrade to a specific version of Terraform Enterprise. - $ replicatedctl app-release apply --sequence "504"
Airgapped
Replicated Console
- Determine the update path where the installer will look for new .airgappackages. You can do this from the console settings of your instance (https://<TFE HOSTNAME>:8800/console/settings) in the fieldUpdate Path.
- Download the new .airgappackage onto the instance and put it into theUpdate Pathlocation.
- From the installer dashboard (https://<TFE HOSTNAME>:8800/dashboard) click the "Check Now" button. Terraform recognizes the new version.
- Click "View Update".
- Review the release notes and then click "Install Update".
Replicated Command Line Interface
- Connect to the Terraform Enterprise host machine using SSH. 
- Print the - AirgapPackagePath.- $ replicatedctl params export --template '{{.AirgapPackagePath}}'
- On the Terraform Enterprise host machine, upload the desired airgap packages into the - AirgapPackagePath.
- Fetch the versions of Terraform Enterprise from the uploaded airgap packages. - $ replicatedctl app-release ls --fetch
- List the available versions of airgap packages for the upgrade. - $ replicatedctl app-release ls
- Upgrade to the latest version of the available airgap packages. - $ replicatedctl app-release apply- Alternatively, upgrade to a specific version, using one of the options listed in the output of the previous step. - $ replicatedctl app-release apply --sequence "504"