Downloads of v 0.9.4:


Last Update:

02 May 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.4 | Updated: 02 May 2017



Downloads of v 0.9.4:



Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

  • 1
  • 2
  • 3
Terraform 0.9.4

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

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

See docs at

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

See docs at

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

Requires cChoco DSC Resource. See docs at

package { 'terraform':
  ensure   => '0.9.4',
  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 02 May 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 = 'e5a7c38c9ce64458bd7cd0c258bc00df83921ece30f668e135d2bfc051aec642'
$checksum64 = 'd7c220da2f0b9a52d686cbb7278d27fba3af8dd02d785dfe33c4c6e96df27100'
$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.9.4 (26th April 2017)


  • provider/template: Fix invalid MIME formatting in template_cloudinit_config. While the change itself is not breaking the data source it may be referenced e.g. in aws_launch_configuration and similar resources which are immutable and the formatting change will therefore trigger recreation (#13752)


  • New Provider: opc - Oracle Public Cloud (#13468)
  • New Provider: oneandone (#13633)
  • New Data Source: aws_ami_ids (#13844] [#13866)
  • New Data Source: aws_ebs_snapshot_ids (#13844] [#13866)
  • New Data Source: aws_kms_alias (#13669)
  • New Data Source: aws_kinesis_stream (#13562)
  • New Data Source: digitalocean_image (#13787)
  • New Data Source: google_compute_network (#12442)
  • New Data Source: google_compute_subnetwork (#12442)
  • New Resource: local_file for creating local files (please see the docs for caveats) (#12757)
  • New Resource: alicloud_ess_scalinggroup (#13731)
  • New Resource: alicloud_ess_scalingconfiguration (#13731)
  • New Resource: alicloud_ess_scalingrule (#13731)
  • New Resource: alicloud_ess_schedule (#13731)
  • New Resource: alicloud_snat_entry (#13731)
  • New Resource: alicloud_forward_entry (#13731)
  • New Resource: aws_cognito_identity_pool (#13783)
  • New Resource: aws_network_interface_attachment (#13861)
  • New Resource: github_branch_protection (#10476)
  • New Resource: google_bigquery_dataset (#13436)
  • New Resource: heroku_space (#13921)
  • New Resource: template_dir for producing a directory from templates (#13652)
  • New Interpolation Function: coalescelist() (#12537)


  • core: Add a -reconfigure flag to the init command, to configure a backend while ignoring any saved configuration (#13825)
  • helper/schema: Disallow validation+diff suppression on computed fields (#13878)
  • config: The interpolation function cidrhost now accepts a negative host number to count backwards from the end of the range (#13765)
  • config: New interpolation function matchkeys for using values from one list to filter corresponding values from another list using a matching set. (#13847)
  • state/remote/swift: Support Openstack request logging (#13583)
  • provider/aws: Add an option to skip getting the supported EC2 platforms (#13672)
  • provider/aws: Add name_prefix support to aws_cloudwatch_log_group (#13273)
  • provider/aws: Add bucket_prefix to aws_s3_bucket (#13274)
  • provider/aws: Add replica_source_db to the aws_db_instance datasource (#13842)
  • provider/aws: Add IPv6 outputs to aws_subnet datasource (#13841)
  • provider/aws: Exercise SecondaryPrivateIpAddressCount for network interface (#10590)
  • provider/aws: Expose execution ARN + invoke URL for APIG deployment (#13889)
  • provider/aws: Expose invoke ARN from Lambda function (for API Gateway) (#13890)
  • provider/aws: Add tagging support to the aws_lambda_function resource (#13873)
  • provider/aws: Validate WAF metric names (#13885)
  • provider/aws: Allow AWS Subnet to change IPv6 CIDR Block without ForceNew (#13909)
  • provider/aws: Allow filtering of aws_subnet_ids by tags (#13937)
  • provider/aws: Support aws_instance and volume tagging on creation (#13945)
  • provider/aws: Add network_interface to aws_instance (#12933)
  • provider/azurerm: VM Scale Sets - import support (#13464)
  • provider/azurerm: Allow Azure China region support (#13767)
  • provider/digitalocean: Export droplet prices (#13720)
  • provider/fastly: Add support for GCS logging (#13553)
  • provider/google: google_compute_address and google_compute_global_address are now importable (#13270)
  • provider/google: google_compute_network is now importable (#13834)
  • provider/google: add attached_disk field to google_compute_instance (#13443)
  • provider/heroku: Set App buildpacks from config (#13910)
  • provider/heroku: Create Heroku app in a private space (#13862)
  • provider/vault: vault_generic_secret resource can now optionally detect drift if it has appropriate access (#11776)


  • core: Prevent resource.Retry from adding untracked resources after the timeout: (#13778)
  • core: Allow a schema.TypeList to be ForceNew and computed (#13863)
  • core: Fix crash when refresh or apply build an invalid graph (#13665)
  • core: Add the close provider/provisioner transformers back (#13102)
  • core: Fix a crash condition by improving the flatmap.Expand() logic (#13541)
  • provider/alicloud: Fix create PrePaid instance (#13662)
  • provider/alicloud: Fix allocate public ip error (#13268)
  • provider/alicloud: alicloud_security_group_rule: check ptr before use it [#13731)
  • provider/alicloud: alicloud_instance: fix ecs internet_max_bandwidth_out cannot set zero bug (#13731)
  • provider/aws: Allow force-destroying aws_route53_zone which has trailing dot (#12421)
  • provider/aws: Allow GovCloud KMS ARNs to pass validation in kms_key_id attributes (#13699)
  • provider/aws: Changing aws_opsworks_instance should ForceNew (#13839)
  • provider/aws: Fix DB Parameter Group Name (#13279)
  • provider/aws: Fix issue importing some Security Groups and Rules based on rule structure (#13630)
  • provider/aws: Fix issue for cross account IAM role with aws_lambda_permission (#13865)
  • provider/aws: Fix WAF IPSet descriptors removal on update (#13766)
  • provider/aws: Increase default number of retries from 11 to 25 (#13673)
  • provider/aws: Remove aws_vpc_dhcp_options if not found (#13610)
  • provider/aws: Remove aws_network_acl_rule if not found (#13608)
  • provider/aws: Use mutex & retry for WAF change operations (#13656)
  • provider/aws: Adding support for ipv6 to aws_subnets needs migration (#13876)
  • provider/aws: Fix validation of the name_prefix parameter of the aws_alb resource (#13441)
  • provider/azurerm: azurerm_redis_cache resource missing hostname (#13650)
  • provider/azurerm: Locking around Network Security Group / Subnets (#13637)
  • provider/azurerm: Locking route table on subnet create/delete (#13791)
  • provider/azurerm: VM's - fixes a bug where ssh_keys could contain a null entry (#13755)
  • provider/azurerm: VM's - ignoring the case on the create_option field during Diff's (#13933)
  • provider/azurerm: fixing a bug refreshing the azurerm_redis_cache [#13899]
  • provider/fastly: Fix issue with using 0 for default_ttl (#13648)
  • provider/google: Fix panic in GKE provisioning with addons (#13954)
  • provider/fastly: Add ability to associate a healthcheck to a backend (#13539)
  • provider/google: Stop setting the id when project creation fails (#13644)
  • provider/google: Make ports in resource_compute_forwarding_rule ForceNew (#13833)
  • provider/google: Validation fixes for forwarding rules (#13952)
  • provider/ignition: Internal cache moved to global, instead per provider instance (#13919)
  • provider/logentries: Refresh from state when resources not found (#13810)
  • provider/newrelic: newrelic_alert_condition - condition_scope must be application or instance (#12972)
  • provider/opc: fixed issue with unqualifying nats (#13826)
  • provider/opc: Fix instance label if unset (#13846)
  • provider/openstack: Fix updating Ports (#13604)
  • provider/rabbitmq: Allow users without tags (#13798)

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