Downloads of v 0.8.5:


Last Update:

28 Jan 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.5 | Updated: 28 Jan 2017



Downloads of v 0.8.5:



Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

  • 1
  • 2
  • 3
Terraform 0.8.5

This is not the latest version of Terraform available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests

Validation Testing Passed

Verification Testing Passed


Scan Testing Successful:

No detections found in any package files


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.5'" [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.5'" 

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.5'
    state: present

See docs at

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

See docs at

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

Requires cChoco DSC Resource. See docs at

package { 'terraform':
  ensure   => '0.8.5',
  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 28 Jan 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 = '19326143e64b07ebe8241505cd5eb0dd901111bb6590be5855365b4be448821b'
$checksum64 = '5b2d482edcd6478bbb43d25b4f6a142aeffc8cd9be2d1ba28f35a1e569a11c6d'
$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 3096 Tuesday, November 9, 2021 Approved
Terraform 1.0.9 12137 Tuesday, October 19, 2021 Approved
Terraform 1.0.8 10426 Wednesday, September 29, 2021 Approved
Terraform 1.0.7 7191 Thursday, September 16, 2021 Approved
Terraform 1.0.6 5189 Wednesday, September 8, 2021 Approved
Terraform 1.0.5 491 Monday, August 23, 2021 Approved
Terraform 1.0.4 13153 Sunday, August 8, 2021 Approved
Terraform 1.0.3 5406 Thursday, July 29, 2021 Approved
Terraform 1.0.2 8570 Saturday, July 10, 2021 Approved

0.8.5 (26 January 2017)


  • provider/aws: We no longer prefix an ECR repository address with https://
  • provider/google: google_project has undergone significant changes. Existing configs and state should continue to work as they always have, but new configs and state will exhibit some new behaviour, including actually creating and deleting projects, instead of just referencing them. See for more details.


  • New Data Source: aws_autoscaling_groups (#11303)
  • New Data Source: aws_elb_hosted_zone_id (#11027)
  • New Data Source: aws_instance (#11272)
  • New Data Source: aws_canonical_user_id (#11332)
  • New Data Source: aws_vpc_endpoint (#11323)
  • New Provider: profitbricks (#7943)
  • New Provider: alicloud (#11235)
  • New Provider: ns1 (#10782)
  • New Resource: aws_inspector_assessment_target (#11217)
  • New Resource: aws_inspector_assessment_template (#11217)
  • New Resource: aws_inspector_resource_group (#11217)
  • New Resource: google_project_iam_policy (#10425)
  • New Resource: google_project_services (#10425)
  • New Interpolation Function: pathexpand() (#11277)


  • command/fmt: Single line objects (such as variable "foo" {}) aren't separated by newlines
  • provider/aws: Add 'route_table_id' to route_table data source (#11157)
  • provider/aws: Add Support for aws_cloudwatch_metric_alarm extended statistic (#11193)
  • provider/aws: Make the type of a route53_record modifiable without recreating the resource (#11164)
  • provider/aws: Add Placement Strategy to aws_ecs_service resource (#11201)
  • provider/aws: Add support for placement_constraint to aws_ecs_service (#11242)
  • provider/aws: allow ALB target group stickiness to be enabled/disabled (#11251)
  • provider/aws: ALBs now wait for provisioning to complete before proceeding (#11333)
  • provider/aws: Add support for setting MSSQL Timezone in aws_db_instance (#11247)
  • provider/aws: CloudFormation YAML template support (#11121)
  • provider/aws: Remove hardcoded https from the ecr repository (#11307)
  • provider/aws: Implement CloudFront Lambda Function Associations (#11291)
  • provider/aws: Remove MaxFrameRate default on ElasticTranscoderPreset (#11340)
  • provider/aws: Allow ARN Identifier to be set for different partitions (#11359)
  • provider/aws: Allow bypassing region validation (#11358)
  • provider/aws: Added a s3_bucket domain name attribute (#10088)
  • provider/aws: Add DiffSupressFunction to aws_db_instance's engine_version (#11369)
  • provider/archive: Adding support for multiple source contents (#11271)
  • provider/azurerm: add caching support for virtual_machine data_disks (#11142)
  • provider/azurerm: make lb sub resources idempotent (#11128)
  • provider/cloudflare: Add verification for record types and content (#11197)
  • provider/datadog: Add aggregator method to timeboard graph resource (#11206)
  • provider/fastly Add request_condition to backend definition (#11238)
  • provider/google: Add subnetwork_project field to enable cross-project networking in instance templates (#11110)
  • provider/google: Add support for encrypting a disk (#11167)
  • provider/google: Add support for session_affinity to google_compute_region_backend_service (#11228)
  • provider/google: Allow additional zones to be configured in GKE (#11018)
  • provider/ignition: Allow empty dropin and content for systemd_units (#11327)
  • provider/openstack: LoadBalancer Security Groups (#11074)
  • provider/openstack: Volume Attachment Updates (#11285)
  • provider/scaleway improve bootscript data source (#11183)
  • provider/statuscake: Add support for StatusCake confirmation servers (#11179)
  • provider/statuscake: Add support for Updating StatusCake contact_ids (#7115)
  • provisioner/chef: Add support for named run-lists when using policyfiles (#11215)
  • core: Add basic HTTP Auth for remote state backend (#11301)


  • command/fmt: Multiple # comments won't be separated by newlines. (#11209)
  • command/fmt: Lists with a heredoc element that starts on the same line as the opening brace is formatted properly. (#11208)
  • command/import: Provider configuration inheritance into modules works properly (#11393)
  • command/import: Update help text to note that -var and -var-file work
  • provider/aws: Fix panic when querying VPC's main route table via data source (#11134)
  • provider/aws: Allow creating aws_codecommit repository outside of us-east-1 (#11177)
  • provider/aws: Fix issue destroying or updating CloudFront due to missing Lambda Function Associations parameters (#11291)
  • provider/aws: Correct error messages are now returned if an aws_autoscaling_lifecycle_hook fails during creation (#11360)
  • provider/aws: Fix issue updating/destroying Spot Fleet requests when using terminate_instances_with_expiration (#10953)
  • provider/azurerm: use configured environment for storage clients (#11159)
  • provider/google: removes region param from google_compute_backend_service (#10903)
  • provider/ignition: allowing empty systemd.content when a dropin is provided (#11216)
  • provider/openstack: Increase deletion timeout for router interfaces (#11250)
  • provider/openstack: Fix Instance Metadata Deletion (#11252)
  • provider/scaleway: Rename Scaleway provider parameters to match more closely to the API (#10874)
  • provider/vault: Remove user input for optional vault provider fields (#11082)
  • provider/vsphere: Set deviceID to 0 if one 1 network interface in vsphere_virtual_machine (#8276)
  • provisioner/remote-exec: fail on first inline script with bad exit code (#11155)

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