Upgrading the Terraform environment
Understand the high-level workflows for upgrading the Terraform environment.
- Upgrading Terraform Open Source
| Upgrade method | Description |
|---|---|
| Upgrade the existing Terraform Open Source installation to a newer supported version | Note: If you choose to upgrade the existing Terraform Open Source installation, you may experience a longer upgrade time. Perform the following actions to upgrade the existing Terraform Open Source installation:
For more information on upgrading Terraform, see Upgrade Guides in Terraform documentation. Cloud Services Catalog Terraform Connector supports Terraform Open Source versions 1.1.0 through 1.1.9 and 1.2.0 or higher
|
| Set up a new Terraform server with the desired Terraform Open Source version | Perform the following actions to set up a new Terraform server with the desired Terraform Open Source version:1. Create a Linux or Windows server for Terraform Open Source installation. 2. Install a Terraform Open Source version that is supported by the Cloud Services Catalog Terraform Connector. Cloud Services Catalog Terraform Connector supports Terraform Open Source versions 1.1.0 through 1.1.9 and 1.2.0 or higher
Note: Ensure that all the templates are stored in separate directories and all the template directories are in the same base directory.
|
Upgrading Terraform Enterprise and Terraform Cloud
Test and modify the existing Terraform templates to ensure compatibility with the new Terraform Enterprise or Terraform Cloud version.
Note: The stacks and Terraform workspaces are tied to the Terraform version through which they were provisioned. Therefore, the same Terraform version is used to provision and deprovision a stack or Terraform workspace.