Downloads of v 0.9.0:


Last Update:

16 Mar 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.9.0 | Updated: 16 Mar 2017



Downloads of v 0.9.0:



Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

  • 1
  • 2
  • 3
Terraform 0.9.0

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

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

See docs at

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

See docs at

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

Requires cChoco DSC Resource. See docs at

package { 'terraform':
  ensure   => '0.9.0',
  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 16 Mar 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 = 'fedc695b774b9f23e208451e7c2f2078575a45a4f6d8daf18d295fdc4e60e86b'
$checksum64 = '24a7ecfc89c986dc4be20a4f50427054115874352f6b0d7337157f3ca62cf9af'
$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 11871 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 484 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.9.0 (March 15, 2017)


  • provider/aws: aws_codebuild_project renamed timeout to build_timeout (#12503)
  • provider/azurem: azurerm_virtual_machine and azurerm_virtual_machine_scale_set now store has of custom_data not all custom_data (#12214)
  • provider/azurerm: scale_sets os_profile_master_password now marked as sensitive
  • provider/azurerm: sql_server administrator_login_password now marked as sensitive
  • provider/dnsimple: Provider has been upgraded to APIv2 therefore, you will need to use the APIv2 auth token
  • provider/google: storage buckets have been updated with the new storage classes. The old classes will continue working as before, but should be migrated as soon as possible, as there's no guarantee they'll continue working forever. (#12044)
  • provider/google: compute_instance, compute_instance_template, and compute_disk all have a subtly changed logic when specifying an image family as the image; in 0.8.x they would pin to the latest image in the family when the resource is created; in 0.9.x they pass the family to the API and use its behaviour. New input formats are also supported. (#12223)
  • provider/google: removed the unused and deprecated region field from google_compute_backend_service (#12663)
  • provider/google: removed the deprecated account_file field for the Google Cloud provider (#12668)
  • provider/google: removed the deprecated fields from google_project (#12659)


  • Remote Backends: This is a successor to "remote state" and includes file-based configuration, an improved setup process (just run terraform init), no more local caching of remote state, and more. (#11286)
  • Destroy Provisioners: Provisioners can now be configured to run on resource destruction. (#11329)
  • State Locking: State will be automatically locked when supported by the backend. Backends supporting locking in this release are Local, S3 (via DynamoDB), and Consul. (#11187)
  • State Environments: You can now create named "environments" for states. This allows you to manage distinct infrastructure resources from the same configuration.
  • New Provider: Circonus (#12578)
  • New Data Source: openstack_networking_network_v2 (#12304)
  • New Resource: aws_iam_account_alias (#12648)
  • New Resource: datadog_downtime (#10994)
  • New Resource: ns1_notifylist (#12373)
  • New Resource: google_container_node_pool (#11802)
  • New Resource: rancher_certificate (#12717)
  • New Resource: rancher_host (#11545)
  • helper/schema: Added Timeouts to allow Provider/Resource developers to expose configurable timeouts for actions (#12311)


  • core: Data source values can now be used as part of a count calculation. (#11482)
  • core: "terraformrc" can contain env var references with $FOO (#11929)
  • core: report all errors encountered during config validation (#12383)
  • command: CLI args can be specified via env vars. Specify TF_CLI_ARGS or TF_CLI_ARGS_name (where name is the name of a command) to specify additional CLI args (#11922)
  • command/init: previous behavior is retained, but init now also configures the new remote backends as well as downloads modules. It is the single command to initialize a new or existing Terraform configuration.
  • command: Display resource state ID in refresh/plan/destroy output (#12261)
  • provider/aws: AWS Lambda DeadLetterConfig support (#12188)
  • provider/aws: Return errors from Elastic Beanstalk (#12425)
  • provider/aws: Set aws_db_cluster to snapshot by default (#11668)
  • provider/aws: Enable final snapshots for aws_rds_cluster by default (#11694)
  • provider/aws: Enable snapshotting by default on aws_redshift_cluster (#11695)
  • provider/aws: Add support for ACM certificates to api_gateway_domain_name (#12592)
  • provider/aws: Add support for IPv6 to aws_security_group_rule (#12645)
  • provider/aws: Add IPv6 Support to aws_route_table (#12640)
  • provider/aws: Add support for IPv6 to aws_network_acl_rule (#12644)
  • provider/aws: Add support for IPv6 to aws_default_route_table (#12642)
  • provider/aws: Add support for IPv6 to aws_network_acl (#12641)
  • provider/aws: Add support for IPv6 in aws_route (#12639)
  • provider/aws: Add support for IPv6 to aws_security_group (#12655)
  • provider/aws: Add replace_unhealthy_instances to spot_fleet_request (#12681)
  • provider/aws: Remove restriction on running aws_opsworks_* on us-east-1 (#12688)
  • provider/aws: Improve error message on S3 Bucket Object deletion (#12712)
  • provider/aws: Add log message about if changes are being applied now or later (#12691)
  • provider/azurerm: Mark the azurerm_scale_set machine password as sensitive (#11982)
  • provider/azurerm: Mark the azurerm_sql_server admin password as sensitive (#12004)
  • provider/azurerm: Add support for managed availability sets. (#12532)
  • provider/azurerm: Add support for extensions on virtual machine scale sets (#12124)
  • provider/dnsimple: Upgrade DNSimple provider to API v2 (#10760)
  • provider/docker: added support for linux capabilities (#12045)
  • provider/fastly: Add Fastly SSL validation fields (#12578)
  • provider/ignition: Migrate all of the igition resources to data sources (#11851)
  • provider/openstack: Set Availability Zone in Instances (#12610)
  • provider/openstack: Force Deletion of Instances (#12689)
  • provider/rancher: Better comparison of compose files (#12561)
  • provider/azurerm: store only hash of azurerm_virtual_machine and azurerm_virtual_machine_scale_set custom_data - reduces size of state (#12214)
  • provider/vault: read vault token from ~/.vault-token as a fallback for the VAULT_TOKEN environment variable. (#11529)
  • provisioners: All provisioners now respond very quickly to interrupts for fast cancellation. (#10934)


  • core: targeting will remove untargeted providers (#12050)
  • core: doing a map lookup in a resource config with a computed set no longer crashes (#12210)
  • provider/aws: Fixes issue for aws_lb_ssl_negotiation_policy of already deleted ELB (#12360)
  • provider/aws: Populate the iam_instance_profile uniqueId (#12449)
  • provider/aws: Only send iops when creating io1 devices (#12392)
  • provider/aws: Fix spurious aws_spot_fleet_request diffs (#12437)
  • provider/aws: Changing volumes in ECS task definition should force new revision (#11403)
  • provider/aws: Ignore whitespace in json diff for aws_dms_replication_task options (#12380)
  • provider/aws: Check spot instance is running before trying to attach volumes (#12459)
  • provider/aws: Add the IPV6 cidr block to the vpc datasource (#12529)
  • provider/aws: Error on trying to recreate an existing customer gateway (#12501)
  • provider/aws: Prevent aws_dms_replication_task panic (#12539)
  • provider/aws: output the task definition name when errors occur during refresh (#12609)
  • provider/aws: Refresh iam saml provider from state on 404 (#12602)
  • provider/aws: Add address, port, hosted_zone_id and endpoint for aws_db_instance datasource (#12623)
  • provider/aws: Allow recreation of aws_opsworks_user_profile when the user_arn is changed (#12595)
  • provider/aws: Guard clause to prevent panic on ELB connectionSettings (#12685)
  • provider/azurerm: bug fix to prevent crashes during azurerm_container_service provisioning (#12516)
  • provider/cobbler: Fix Profile Repos (#12452)
  • provider/datadog: Update to datadog_monitor to use default values (#12497)
  • provider/datadog: Default notify_no_data on datadog_monitor to false (#11903)
  • provider/google: Correct the incorrect instance group manager URL returned from GKE (#4336)
  • provider/google: Fix a plan/apply cycle in IAM policies (#12387)
  • provider/google: Fix a plan/apply cycle in forwarding rules when only a single port is specified (#12662)
  • provider/google: Minor correction : "Deleting disk" message in Delete method (#12521)
  • provider/mysql: Avoid crash on un-interpolated provider cfg (#12391)
  • provider/ns1: Fix incorrect schema (causing crash) for 'ns1_user.notify' (#12721)
  • provider/openstack: Handle cases where volumes are disabled (#12374)
  • provider/openstack: Toggle Creation of Default Security Group Rules (#12119)
  • provider/openstack: Change Port fixed_ip to a Set (#12613)
  • provider/openstack: Add network_id to Network data source (#12615)
  • provider/openstack: Check for ErrDefault500 when creating/deleting pool member (#12664)
  • provider/rancher: Apply the set value for finish_upgrade to set to prevent recurring plans (#12545)
  • provider/scaleway: work around API concurrency issue (#12707)
  • provider/statuscake: use default status code list when updating test (#12375)

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