Downloads of v 0.8.7:


Last Update:

22 Feb 2017

Package Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp


terraform hashicorp


This is not the latest version of Terraform available.

  • 1
  • 2
  • 3

0.8.7 | Updated: 22 Feb 2017



Downloads of v 0.8.7:



Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

  • 1
  • 2
  • 3
Terraform 0.8.7

This is not the latest version of Terraform available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Passed


Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.


Deployment Method: Individual Install, Upgrade, & Uninstall

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:


Deployment Method:

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

1. Enter Your Internal Repository Url

(this should look similar to

2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • 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. Copy Your Script

choco upgrade terraform -y --source="'INTERNAL REPO URL'" --version="'0.8.7'" [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="'INTERNAL REPO URL'" --version="'0.8.7'" 

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

Exit $exitCode

- name: Install terraform
    name: terraform
    version: '0.8.7'
    state: present

See docs at

chocolatey_package 'terraform' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '0.8.7'

See docs at

cChocoPackageInstaller terraform
    Name     = "terraform"
    Version  = "0.8.7"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'terraform':
  ensure   => '0.8.7',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',

Requires Puppet Chocolatey Provider module. See docs at

4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 22 Feb 2017.


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 = '4e7f89322434cfb91aa6c9448f12b189b18e3d4f631dda2acc11a2fcc0db1a95'
$checksum64 = 'dcd2cacfec4f9d6e9834d9c2cfef9b7b868e191001d88607f088dc93406054bd'
$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.

Add to Builder Version Downloads Last Updated Status
Terraform 1.0.10 3087 Tuesday, November 9, 2021 Approved
Terraform 1.0.9 11867 Tuesday, October 19, 2021 Approved
Terraform 1.0.8 10384 Wednesday, September 29, 2021 Approved
Terraform 1.0.7 7122 Thursday, September 16, 2021 Approved
Terraform 1.0.6 5177 Wednesday, September 8, 2021 Approved
Terraform 1.0.5 483 Monday, August 23, 2021 Approved
Terraform 1.0.4 13098 Sunday, August 8, 2021 Approved
Terraform 1.0.3 5365 Thursday, July 29, 2021 Approved
Terraform 1.0.2 8535 Saturday, July 10, 2021 Approved

0.8.7 (February 15, 2017)


  • provider/aws: kinesis_endpoint & dynamodb_endpoint fields in the provider schema were deprecated in favour of kinesis & dynamodb inside the endpoints block. Deprecated fields will be removed in 0.9 (#11768)


  • New Interpolation: slice (#9729)
  • New Provider: arukas (#11171)
  • New Data Source: aws_db_instance (#11717)
  • New Data Source: aws_vpn_gateway (#11886)
  • New Data Source: google_compute_zones (#11954)
  • New Resource: aws_elasticsearch_domain_policy (#8648)
  • New Resource: aws_vpc_peering_connection_accepter (#11505)
  • New Resource: aws_config_config_rule (#5850)
  • New Resource: aws_config_configuration_recorder (#5850)
  • New Resource: aws_config_configuration_recorder_status (#5850)
  • New Resource: aws_config_delivery_channel (#5850)
  • New Resource: azurerm_container_service (#10820)
  • New Resource: vault_policy (#10980)


  • provider/aws: Update aws_ssm_document to include document_type, latest_version and default_version (#11671)
  • provider/aws: Support import of aws_opsworks_instance (#11783)
  • provider/aws Add S3 bucket object tag support (#11344)
  • provider/aws: Add validation for aws_iam_role (#11915)
  • provider/fastly Allows for conditional settings across fastly (#11843)
  • provider/openstack: Allow OpenStack SSL certs + keys to take path or content (#10271)
  • provider/pagerduty: Add support for incident_urgency_rule, support_hours and scheduled_actions to pagerduty_service (#11856)
  • provider/rancher: parse Rancher client cli.json config file (#11658)
  • provider/vault: Use Vault api.DefaultConfig() (#11523)


  • core: resources that depend on create-before-destroy resources don't create cycles (#11753)
  • core: create-before-destroy resources with a count > 1 create proper edges (#11753)
  • core: fix "diffs didn't match issue" for removing or empty collections that force new (#11732)
  • core: module sources ended in archive extensions without a "." won't be treated as archives (#11438)
  • core: destroy ordering of resources within modules is correct (#11765)
  • core: Fix crash if count interpolates into a non-int (#11864)
  • core: Targeting a module will properly exclude untargeted module outputs (#11291)
  • state/remote/s3: Fix Bug with Assume Role for Federated IAM Account (#10067)
  • provider/aws: Fix security_group_rule resource timeout errors (#11809)
  • provider/aws: Fix diff suppress function for aws_db_instance (#11909)
  • provider/aws: Fix default values for AMI volume size (#11842)
  • provider/aws: Fix aws_db_event_subscription import (#11744)
  • provider/aws: Respect 400 returned from AWS API on RDS Cluster termination (#11795)
  • provider/aws: Raise the codebuild_project create timeout (#11777)
  • provider/aws: Make aws_dms_endpoint database_name optional (#11792)
  • provider/aws: Bump Create and Delete timeouts to 60 mins on directory_service (#11793)
  • provider/aws: aws_codecommit_trigger fix typo that causes serialization to fail when events is non-empty (#11839)
  • provider/aws: Fix bug to allow update of maintenance_window in elasticache_replication_group (#11850)
  • provider/azurerm: Don't push an empty set of ssh keys to virtual machine or they cannot be ammended (#11804)
  • provider/azurerm: Refresh from state when VM Extension Resource not found (#11894)
  • provider/cloudstack: Ensure consistent hashes of cloudstack_port_forward forward items. (#11546)
  • provider/google: set additional_zones to computed and disallow the original zone from appearing in the list (#11650)
  • provider/google: set subnetwork_project to computed (#11646)
  • provider/openstack BlockStorage v1 availability_zone Fix (#11949)

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