Introduction
There may be times when you would like Terraform Enterprise to use a Terraform binary which is only available on a private web server due to network or workflow constraints.
By following the steps below, specify a Terraform binary uploaded to a web server to be accessible from your Terraform Enterprise instance configuration.
Procedure
1. Obtain the checksum of the zip file before uploading to the web server.
-
sha256sum command (Linux)
sha256sum file.zip
-
shasum command (OSX)
shasum -a 256 file.zip
-
Get-FileHash command (PowerShell)
Get-FileHash file.zip -Algorithm SHA256
-
CertUtil command (CMD)
CertUtil -hashfile file.zip SHA256
2. Access the following URL
https://TFE_HOSTNAME/app/admin/terraform-versions/add
*This page is available only to users with admin privileges in TFE.
Example,
3. Fill out the fields and click "Add terraform version"
- Version: Enter the version number
- Choose accessibility between "Enable this version", "Deprecated", or "Beta"
- URL: Enter the address to where the zip file can be retrieved
- SHA256 Checksum: Paste the checksum you have generated for the Terraform zip file