Downloads of v 0.11.2:


Last Update:

13 Jan 2018

Package Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp


terraform hashicorp


This is not the latest version of Terraform available.

0.11.2 | Updated: 13 Jan 2018



Downloads of v 0.11.2:



Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

Terraform 0.11.2

This is not the latest version of Terraform available.

All Checks are Passing

2 Passing Test

Validation Testing Passed

Verification Testing Passed


To install Terraform, run the following command from the command line or from PowerShell:


To upgrade Terraform, run the following command from the command line or from PowerShell:


To uninstall Terraform, run the following command from the command line or from PowerShell:


NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade terraform -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade terraform -y --source="'STEP 3 URL'"

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Ensure terraform installed
    name: terraform
    state: present
    version: 0.11.2
    source: STEP 3 URL

See docs at

Coming early 2020! Central Managment Reporting available now! More information...

chocolatey_package 'terraform' do
  action    :install
  version  '0.11.2'
  source   'STEP 3 URL'

See docs at

    Name: terraform,
    Version: 0.11.2,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller terraform
   Name     = 'terraform'
   Ensure   = 'Present'
   Version  = '0.11.2'
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'terraform':
  provider => 'chocolatey',
  ensure   => '0.11.2',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install terraform version="0.11.2" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 13 Jan 2018.


Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently. Terraform can manage existing and popular service providers as well as custom in-house solutions.

The key features of Terraform are:

  • Infrastructure as Code: Infrastructure is described using a high-level configuration syntax. This allows a blueprint of your datacenter to be versioned and treated as you would any other code. Additionally, infrastructure can be shared and re-used.
  • Execution Plans: Terraform has a "planning" step where it generates an execution plan. The execution plan shows what Terraform will do when you call apply. This lets you avoid any surprises when Terraform manipulates infrastructure.
  • Resource Graph: Terraform builds a graph of all your resources, and parallelizes the creation and modification of any non-dependent resources. Because of this, Terraform builds infrastructure as efficiently as possible, and operators get insight into dependencies in their infrastructure.
  • Change Automation: Complex changesets can be applied to your infrastructure with minimal human interaction. With the previously mentioned execution plan and resource graph, you know exactly what Terraform will change and in what order, avoiding many possible human errors.

For more information, see the introduction section of the Terraform website.

$checksum = '91b9a021b85d5ffdeafad155fb323f48ea47b535e44e9bd600e3ca2997b22ca8'
$checksum64 = 'f8e12b552eb2570bfa0ad52d18ef327b0704d54ef70317e0192a6c07f9813b6d'
$url = ''
$url64bit = ''
$unzipLocation = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

if ([System.IO.Directory]::Exists("$env:ChocolateyInstall\lib\terraform")) {
  if ([System.IO.Directory]::Exists("$env:ChocolateyInstall\lib\terraform\tools")) {
    # clean old plugins and ignore files
    Write-Host "Removing old terraform plugins"
    Remove-Item "$env:ChocolateyInstall\lib\terraform\tools\terraform-*.*"
} else {
  if ([System.IO.Directory]::Exists("$env:ALLUSERSPROFILE\chocolatey\lib\terraform")) {
    if ([System.IO.Directory]::Exists("$env:ALLUSERSPROFILE\chocolatey\lib\terraform\tools")) {
      # clean old plugins and ignore files
      Write-Host "Removing old terraform plugins"
      Remove-Item "$env:ALLUSERSPROFILE\chocolatey\lib\terraform\tools" -Include "terraform-*.*"

Install-ChocolateyZipPackage -PackageName "terraform" -Url "$url" -UnzipLocation "$unzipLocation" -Url64 "$url64bit" -ChecksumType 'sha256' -Checksum "$checksum" -Checksum64 "$checksum64"
UnInstall-ChocolateyZipPackage "terraform" ""

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Terraform 0.14.6 3353 Wednesday, February 10, 2021 Approved
Terraform 0.14.5 4868 Wednesday, January 27, 2021 Approved
Terraform 0.14.4 5329 Sunday, January 10, 2021 Approved
Terraform 0.14.3 4489 Sunday, December 20, 2020 Approved
Terraform 0.14.2 3732 Wednesday, December 9, 2020 Approved
Terraform 0.14.1 52 Wednesday, December 9, 2020 Approved
Terraform 0.14.0 1495 Tuesday, December 8, 2020 Approved
Terraform 0.13.6 378 Sunday, January 10, 2021 Approved
Terraform 0.13.5 13127 Thursday, November 5, 2020 Approved

0.11.2 (January 9, 2018)


  • backend/gcs: The gcs remote state backend was erroneously creating the state bucket if it didn't exist. This is not the intended behavior of backends, as Terraform cannot track or manage that resource. The target bucket must now be created separately, before using it with Terraform. (#16865)


  • Habitat Provisioner allowing automatic installation of the Habitat agent (#16280)


  • core: removed duplicate prompts and clarified working when migration backend configurations (#16939)
  • config: new rsadecrypt interpolation function allows decrypting a base64-encoded ciphertext using a given private key. This is particularly useful for decrypting the password for a Windows instance on AWS EC2, but is generic and may find other uses too. (#16647)
  • config: new timeadd interpolation function allows calculating a new timestamp relative to an existing known timestamp. (#16644)
  • cli: Passing an empty string to -plugin-dir during init will remove previously saved paths (#16969)
  • cli: Module and provider installation (and some other Terraform features) now implement RFC6555 when making outgoing HTTP requests, which should improve installation reliability for dual-stack (both IPv4 and IPv6) hosts running on networks that have non-performant or broken IPv6 Internet connectivity by trying both IPv4 and IPv6 connections. (#16805)
  • backend/s3: it is now possible to disable the region check, for improved compatibility with third-party services that attempt to mimic the S3 API. (#16757)
  • backend/s3: it is now possible to for the path-based S3 API form, for improved compatibility with third-party services that attempt to mimic the S3 API. (#17001)
  • backend/s3: it is now possible to use named credentials from the ~/.aws/credentials file, similarly to the AWS plugin (#16661)
  • backend/manta: support for Triton RBAC (#17003)
  • backend/gcs: support for customer-supplied encryption keys for remote state buckets (#16936)
  • provider/terraform: in terraform_remote_state, the argument environment is now deprecated in favor of workspace. The environment argument will be removed in a later Terraform release. (#16558)


  • config: fixed crash in substr interpolation function with invalid offset (#17043)
  • config: Referencing a count attribute in an output no longer generates a warning (#16866)
  • cli: Terraform will no longer crash when terraform plan, terraform apply, and some other commands encounter an invalid provider version constraint in configuration, generating a proper error message instead. (#16867)
  • backend/gcs: The usage of the GOOGLE_CREDENTIALS environment variable now matches that of the google provider (#16865)
  • backend/gcs: fixed the locking methodology to avoid "double-locking" issues when used with the terraform_remote_state data source (#16852)
  • backend/s3: the workspace_key_prefix can now be an empty string or contain slashes (#16932)
  • provisioner/salt-masterless: now waits for all of the remote operations to complete before returning (#16704)

Previous Releases

For more information on previous releases, check out the changelog on GitHub.

This package has no dependencies.

Discussion for the Terraform Package

Ground Rules:

  • This discussion is only about Terraform and the Terraform package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Terraform, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus