Downloads of v 0.8.0:


Last Update:

14 Dec 2016

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.0 | Updated: 14 Dec 2016



Downloads of v 0.8.0:



Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

  • 1
  • 2
  • 3
Terraform 0.8.0

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

See docs at

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

See docs at

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

Requires cChoco DSC Resource. See docs at

package { 'terraform':
  ensure   => '0.8.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 14 Dec 2016.


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 = '697692ffc969fa4bac0cf0c70d0ab97efbc3be38530cd63638e5d5b90a5dc3c7'
$checksum64 = '2624b22fb2cf68679952190a8fa836f29a5bbae6de9de4b3c20a41ce116e4cb0'
$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 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.0 (December 13, 2016)

This is the complete 0.7.13 to 0.8 CHANGELOG. Below this section we
also have a 0.8.0-rc3 to 0.8.0 final CHANGELOG.


  • template_file inline templates must escape their variable usage. What was previously ${foo} must now be ${foo}. Note that this is only for inline templates. Templates read from files are unchanged. (#9698)

  • Escape sequences used to require double-escaping when used within interpolations. You now must only escape once (which is the expected/typical behavior). For example: ${replace(, "\\", "\\\\")} is correct. Before, that would cause very strange behavior. However, this may break existing configurations which found a level of escape sequences to work. Check terraform plan for incorrect output.

  • Math operators now follow the standard order of operations: *, /, % followed by +, -. See the updated interpolation docs for more information. You can continue to force ordering with parentheses.

  • Strings in configuration can no longer contain unescaped newlines. For unescaped newlines, heredocs must be used

  • provider/aws: Anywhere where we can specify kms_key_id must now be a valid KMS Key ID ARN to stop continual diffs

  • provider/chef: The chef provider now accepts key_material as an alternative to private_key_pem. The private_key_pem attribute will be deprecated in a future release

  • provider/postgres: ssl_mode has been renamed sslmode to match common usage (#10682)


  • The template_file resource no longer accepts a direct file path for the template attribute. You may either specify a path wrapped in a file function or specify a file path with the filepath attribute. This was deprecated during 0.7.x.


  • New command: terraform console, an interactive console for experimenting with and using interpolations. (#10093)

  • Terraform version requirement in configuration. You can now specify a Terraform version requirement in configuration and modules. (#10080)

  • Conditional values: You can now use conditionals to determine the values of attributes. For example: count = "${var.env == "prod" ? 1 : 0}".

  • depends_on can reference modules. This allows a resource or output to depend on everything within a module. (#10076)

  • output supports depends_on. This is useful when the output depends on a certain ordering to happen that can't be represented with interpolations. (#10072)

  • Providers and resources are now notified by Terraform core to "stop" when an interrupt is received, allowing resources to gracefully exit much, much faster. (#9607)

  • The import command can now specify a provider alias to use. (#10310)

  • The import command will now read provider configuration from Terraform configuration files (including loading tfvars files and so on). (#9809)

  • New Provider: external (#8768)

  • New Provider: nomad (#9538)

  • New Provider: rancher (#9173)

  • New Provider: vault (#9158)

  • New Provider: Icinga2 (#8306)

  • New Resource: aws_ebs_snapshot (#10017)

  • New Resource: aws_lightsail_domain (#10637)

  • New Resource: aws_lightsail_key_pair (#10583)

  • New Resource: aws_lightsail_instance (#10473)

  • New Resource: aws_opsworks_rds_db_instance (#10294)

  • New Resource: aws_snapshot_create_volume_permission (#9891)

  • New Resource: aws_vpc_endpoint_route_table_association (#10137)

  • New Resource: google_compute_health_check (#10453)

  • New Resource: google_compute_region_backend_service (#10453)

  • New Resource: openstack_blockstorage_volume_attach_v2 (#10259)

  • New Resource: openstack_compute_volume_attach_v2 (#10260)

  • New Data Source: aws_ebs_snapshot (#10017)

  • New Data Source: aws_eip (#9833)

  • New Data Source: aws_iam_server_certificate (#10558)

  • New Data Source: aws_route_table (#10301)

  • New Data Source: aws_route53_zone (#9766)

  • New Data Source: aws_vpc_endpoint_services (#10261)

  • New Data Source: pagerduty_user (#10541)

  • New Interpolation Function: timestamp (#10475)

  • core: allow outputs to have descriptions (#9722)

  • state/azure: support passing of lease ID when writing storage blob (#10115)


  • core: Human-friendly error when a computed count is used. (#10060)
  • core: Maps across multiple input sources (files, CLI, env vars) are merged. (#10654)
  • core: SIGTERM also triggers graceful shutdown in addition to SIGINT (#10534)
  • core: Plan will show deposed-only destroys for create-before-destroy resources. (#10404)
  • command/plan: Show warning when a plan file is given as input to make behavior clear. (#10639)
  • helper/schema: only map, list, and set elements that are actually causing a resource to destroy/create are marked as "requires new". (#9613)
  • provider/aws: Add support for AWS CA Central 1 Region (#10618)
  • provider/aws: Allow importing of aws_iam_role, aws_iam_role_policy and aws_iam_policy (#9398)
  • provider/aws: Added s3 bucket region attribute management (#10482)
  • provider/aws: Added SQS FIFO queues (#10614)
  • provider/aws: Addition of suspended_processes to aws_autoscaling_group (#10096)
  • provider/aws: added auto_minor_version_upgrade on aws_rds_cluster_insstance (#10284)
  • provider/aws: Add JSON validation to the aws_iam_policy resource (#10239)
  • provider/aws: Support MFA delete for s3 bucket versioning (#10020)
  • provider/aws: Enable DeleteOnTermination in ENI when created by spot fleet (#9922)
  • provider/aws: Enforced kms_key_* attributes to be ARNs (#10356)
  • provider/aws: IPv6 Support To Cloudfront (#10332)
  • provider/aws: Support import of aws_iam_instance_profile (#10436)
  • provider/aws: Increase aws_emr_cluster timeout (#10444)
  • provider/aws: Support Automatic Rollback of CodeDeploy deployments and CloudWatch Alarms for a Deployment Group (#9039)
  • provider/aws: Add support for termination protection and autotermination to EMR (#10252)
  • provider/aws: Add "no_device" support to ephemeral block devices (#10547)
  • provider/aws: Added S3 Bucket replication (#10552)
  • provider/aws: Add pgp_key to aws_iam_access_key to protect key. (#10615)
  • provider/azurerm: make DiskSizeGB optional for azurerm_virtual_machine data_disks (#10232)
  • provider/azurerm support license_type virtual_machine property (#10539)
  • provider/azurerm: support import of routes, fix route_table (#10389)
  • provider/azurerm: enable import of more resources (#10195)
  • provider/azurerm: create common schema for location field, add diff suppress (#10409)
  • provider/chef: Migrate Chef to use KEY_MATERIAL rather than using a Pem file (#10105)
  • provider/cloudstack: Add option to set a custom network_domain for cloudstack_network (#10638)
  • provider/cloudstack: Support using secondary IP addresses with the cloudstack_static_nat resource (#10420)
  • provider/cloudstack: Support using secondary IP addresses with the cloudstack_port_forward resource (#10638)
  • provider/datadog: Make monitor thresholds optional. (#10526)
  • provider/datadog: Improve datadog timeboard support (#10027)
  • provider/docker: Upload files into container before first start (#9520)
  • provider/docker: authentication via values instead of files (#10151)
  • provider/fastly add origin shielding (#10677)
  • provider/fastly: add ssl_hostname option (#9629)
  • provider/github: supports importing resources (#10382)
  • provider/google: Add support for Internal Load Balancing (#10453)
  • provider/google: Add Service Accounts resource (#9946)
  • provider/google: Instances and templates now both support metadata_startup_script and metadata.startup-script. (#10537)
  • provider/google: Added support for session affinity to compute_backend_service (#10387)
  • provider/google: Projects are now importable (#10469)
  • provider/google: SSL certificates can now specify prefix instead of a full name (#10684)
  • provider/openstack: Add Swauth/Swift Authentication (#9943)
  • provider/openstack: Detect Region for Importing Resources (#10509)
  • provider/postgresql: Improved support for many PostgreSQL resources (#10682)
  • provider/postgresql: Added 'connect_timeout' argument to provider 'postgresql' (#10380)
  • provider/rundeck: enable validation for multiple values in an array (#8913)
  • provider/rundeck: Add support for scheduler to rundeck_job (#9449)
  • state/remote/swift: Add support for versioning state file in swift and expiring versioned state (#10055)


  • core: Escape sequences in interpolations work in every case. (#8709)
  • core: Maps in outputs with computed values are no longer removed. (#9549)
  • core: Direct indexing into a computed list no longer errors. (#10657)
  • core: Validate fails on invalid keys in variable blocks. (#10658)
  • core: Validate that only a single lifecycle block exists per rource. (#10656)
  • core: When destroying, the resources of a provider that depends on another resource are destroyed first. (#10659)
  • core: Catch parse errors for null characters mid-file (#9134)
  • core: Remove extra dot from state command backup files (#10300)
  • core: Validate data sources do not have provisioners (#10318)
  • core: Disable checkpoint settings take effect (#10206)
  • core: Changed attribute console output shows up on Windows. (#10417)
  • core: Destroying deposed resources in create before destroy waits until the creation step of its specific index. (0.8 regression) (#10416)
  • core: Certain invalid configurations will no longer print "illegal". (#10448)
  • core: Fix a crash that could occur when multiple deposed instances exist. (#10504)
  • core: Fix a diff mismatch error that could happen when a resource depends on a count resource being decreased. (#10522)
  • core: On Unix machines if getent is not available, fall back to shell to find home dir. (#10515)
  • command/fmt: Multiline comments aren't indented every fmt. (#6524)
  • communicator/ssh: Avoid race that could cause parallel remote execs on the same host to overwrite each other (#10549)
  • provider/aws: Added Lambda function guard when needed attributes are not set (#10663)
  • provider/aws: Allow import of aws_security_groups with more than one source_security_group_id rule (#9477)
  • provider/aws: Allow setting the DB Instance name when restoring from a snapshot (#10664)
  • provider/aws: Fix issue importing aws_vpc_peering_connection (#10635)
  • provider/aws: Fixed deletion of aws_api_gateway_base_path_mapping with empty path (#10177)
  • provider/aws: Fix issue removing Lambda environment variables (#10492)
  • provider/aws: Skip VPC endpoint routes when removing default route table's routes (#10303)
  • provider/aws: Do not return a root device for instance store backed AMIs. (#9483)
  • provider/aws: resource_aws_opsworks_application does not accept document_root parameter (#10477)
  • provider/aws: bug fix when specifying level on aws_opsworks_permission (#10394)
  • provider/aws: cloudfront distribution 404 should mark as gone (#10281)
  • provider/aws: Assign correct number of core instances (n-1) to aws-emr-cluster on update (#10529)
  • provider/aws: Allow update of Service role on a CodeDeploy deployment group (#9866)
  • provider/aws: fixed the api_gw_domain_name replace operation (#10179)
  • provider/aws: Forces the API GW domain name certificates to recreate the resource (#10588)
  • provider/aws: Validate effect in aws_iam_policy_document data source (#10021)
  • provider/azurerm: fix virtual_machine reading plan as the wrong type (#10626)
  • provider/azurerm: Prevent null reference when reading boot_diagnostics settings in azurerm_virtual_machine (#10283)
  • provider/azurerm: azurerm_availability_set not is ForceNew for UpdateDomain and FaultDomain (#10545)
  • provider/azurerm: fix servicebus_topic max_size_in_megabytes for premium namespaces (#10611)
  • provider/azurerm: set ForceNew for storage image and OS disk of virtual_machine (#10340)
  • provider/datadog: Refactor monitor tags to a list instead of a map. (#10570)
  • provider/datadog 9869: Validate credentials when initialising client. (#10567)
  • provider/openstack: More Import and Region Fixes (#10662)
  • provider/openstack: Fix Ordering of Port Allowed Address Pairs (#10250)
  • provider/template: No file path error when setting template to / (#10297)

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