- Terraform Enterprise
- 2.1.x (latest)
- 2.0.x
- 1.2.x
- 1.1.x
- 1.0.x
- 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
- v202408-1
- No versions of this document exist before v202408-1. Click below to redirect to the version homepage.
- 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
- v202308-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
Manage Terraform policy plugin versions
This topic describes how to add and manage versions of the Terraform policy plugin (tfpolicy-plugin) that Terraform Enterprise uses to evaluate Terraform policy sets.
Overview
The Terraform policy plugin is the binary that evaluates policies written using the Terraform policy framework. Site administrators manage which versions of the plugin are available to policy authors and administrators in the organization.
Requirements
You must have one of the following user roles to access the Terraform policy plugin versions page:
- Site admin
- Configuration
- Support
- Version maintenance
Add a Terraform policy plugin version
Terraform policy plugin binaries are available for download from HashiCorp.
To add a new version of the Terraform policy plugin:
- Navigate to the Terraform policy plugin versions page in the site administration settings.
- Click Add Terraform policy plugin version.
- In the Version field, enter the version number you want to add (for example,
0.4.0). - Configure the Availability settings:
- Enable this version: Allow all users to access this version for policy set evaluation.
- Disable this version: Prevent this version from being used in any policy set evaluation.
- Optionally, configure Early access settings
- Beta: Restrict this version to organizations with beta access. Use only for official pre-release builds (alpha, beta, release candidates).
- Under OS Architecture & Download details, provide download information for each supported platform:
- OS Architecture: Select the platform (for example,
Linux amd64). - Download URL: Enter the URL where the binary can be downloaded (for example,
https://releases.hashicorp.com/tfpolicy-plugin/0.4.0/tfpolicy-plugin_0.4.0_linux_amd64.zip). - SHA256 Checksum: Enter the 64-character hexadecimal SHA256 checksum for the binary. You can find this in the
_SHA256SUMSfile on the download page.
- OS Architecture: Select the platform (for example,
- Click Add another OS Architecture to add support for additional platforms.
- Click Add Terraform policy plugin version to complete the setup.
The new version is now available for policy authors to use in their policy sets.
Manage existing versions
To modify an existing Terraform policy plugin version:
- Navigate to the Terraform policy plugin versions page.
- Click on the version you want to modify.
- Update the availability settings, deprecation status, or platform binaries as needed.
- Click Update Terraform policy plugin version to save your changes.