terraform/website/source/docs/enterprise/runs/managing-terraform-versions...

32 lines
1.2 KiB
Markdown
Raw Normal View History

2017-03-16 20:42:33 +01:00
---
2017-04-03 19:53:38 +02:00
layout: "enterprise"
2017-04-07 06:00:51 +02:00
page_title: "Managing Terraform Versions - Runs - Terraform Enterprise"
2017-03-17 20:24:20 +01:00
sidebar_current: "docs-enterprise-runs-versions"
description: |-
How to manage versions of Terraform Enterprise.
2017-03-16 20:42:33 +01:00
---
# Managing Terraform Versions
2017-03-17 20:24:20 +01:00
Terraform Enterprise does not automatically upgrade the version of Terraform
2017-04-07 06:00:51 +02:00
used to execute plans and applies. This is intentional, as occasionally there
can be backwards incompatible changes made to Terraform that cause state and
plans to differ based on the same configuration, or new versions that produce
some other unexpected behavior.
2017-03-16 20:42:33 +01:00
2017-04-07 06:00:51 +02:00
All upgrades must be performed by a user, but Terraform Enterprise will display
a notice above any plans or applies run with out of date versions. We encourage
the use of the latest version when possible.
2017-03-16 20:42:33 +01:00
2017-04-07 06:00:51 +02:00
Note that regardless of when an upgrade is performed, the version of Terraform
used in a plan will be used in the subsequent apply.
2017-03-16 20:42:33 +01:00
### Upgrading Terraform
1. Go the Settings tab of an environment
2017-03-17 20:24:20 +01:00
2. Go to the "Terraform Version" section and select the version you
2017-03-16 20:42:33 +01:00
wish to use
2017-03-17 20:24:20 +01:00
3. Review the changelog for that version and previous versions
4. Click the save button. At this point, future builds will use that
2017-03-16 20:42:33 +01:00
version