Downloads of v 0.13.0-beta2:


Last Update:

25 Jun 2020

Package Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp


terraform hashicorp


This is a prerelease version of Terraform.

  • 1
  • 2
  • 3

0.13.0-beta2 | Updated: 25 Jun 2020



Downloads of v 0.13.0-beta2:



Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

  • 1
  • 2
  • 3
Terraform 0.13.0-beta2

This is a prerelease version of Terraform.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Failed

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.13.0-beta2'" --prerelease [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.13.0-beta2'" --prerelease

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.13.0-beta2'
    state: present
    allow_prerelease: yes

See docs at

chocolatey_package 'terraform' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '0.13.0-beta2'
  options  '--prerelease'

See docs at

cChocoPackageInstaller terraform
    Name        = "terraform"
    Version     = "0.13.0-beta2"
    Source      = "INTERNAL REPO URL"
    chocoParams = "--prerelease"

Requires cChoco DSC Resource. See docs at

package { 'terraform':
  ensure          => '0.13.0-beta2',
  install_options => ['--prerelease'],
  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.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package is exempt from moderation. While it is likely safe for you, there is more risk involved.

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.

$ErrorActionPreference = 'Stop'

$url        = ''
$url64      = ''
$checksum   = '98e5f3d9a260efc59187135bd455ad0bcbbb968e67b637a144dd41815ed2d4cb'
$checksum64 = 'aa8c67d95605f658e30c3eee0f4a906ed9e70679bee6f12b8ded2d38188456c1'

$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-*.*"

$packageParams = @{
  PackageName   = "terraform"
  UnzipLocation = $unzipLocation
  Url           = $url
  Url64         = $url64
  Checksum      = $checksum
  Checksum64    = $checksum64
  ChecksumType  = 'sha256'

Install-ChocolateyZipPackage @packageParams
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.13.0-beta2 (June 17, 2020)


  • backend/s3: Deprecated lock_table, skip_get_ec2_platforms, and skip_requesting_account_id arguments have been removed (#25134)
  • backend/s3: Credential ordering has changed from static, environment, shared credentials, EC2 metadata, default AWS Go SDK (shared configuration, web identity, ECS, EC2 Metadata) to static, environment, shared credentials, default AWS Go SDK (shared configuration, web identity, ECS, EC2 Metadata) (#25134)
  • backend/s3: The AWS_METADATA_TIMEOUT environment variable no longer has any effect as we now depend on the default AWS Go SDK EC2 Metadata client timeout of one second with two retries (#25134)
  • Removed unused targets from Makefile. If you were previously using make dev or make quickdev, replace that usage with go install (#25146)


  • backend/kubernetes: New kubernetes remote state storage backend (#19525)
  • backend/s3: Always enable shared configuration file support (no longer require AWS_SDK_LOAD_CONFIG environment variable) (#25134)
  • backend/s3: Automatically expand ~ prefix for home directories in shared_credentials_file argument (#25134)
  • backend/s3: Add assume_role_duration_seconds, assume_role_policy_arns, assume_role_tags, and assume_role_transitive_tag_keys arguments (#25134)
  • command/providers: Show providers in a tree of modules requiring them, along with a list of providers required by state (#25190)
  • provisioner/remote-exec: Return an error when the host field is empty (#24080)


  • addrs: detect builtin "terraform" provider in legacy state (#25154)
  • backend/remote: do not panic if PrepareConfig or Configure receive null values (can occur when the user cancels the init command) (#25135)
  • backend/s3: Ensure configured profile is used (#25134)
  • backend/s3: Ensure configured STS endpoint is used during AssumeRole API calls (#25134)
  • backend/s3: Prefer AWS shared configuration over EC2 metadata credentials by default (#25134)
  • backend/s3: Prefer ECS credentials over EC2 metadata credentials by default (#25134)
  • backend/s3: Remove hardcoded AWS Provider messaging (#25134)
  • command/0.13upgrade: Fix 0.13upgrade usage help text to include options (#25127)
  • command/0.13upgrade: Do not add source for builtin provider (#25215)
  • command/apply: Fix bug which caused Terraform to silently exit on Windows when using absolute plan path (#25233)
  • command/init: Fix bug which caused the default local plugindir to be omitted as a provider source location (#25214)
  • command/format: Fix bug which caused some diagnostics to print empty source lines (#25156)
  • command/version: add -json flag for machine-parsable version output (#25252)
  • config: Function argument expansion with ... will no longer incorrectly return "Invalid expanding argument value" in situations where the expanding argument type isn't known yet. (#25216)
  • config: Fix crash in validation with non-ascii characters (#25144)
  • config: Don't panic if version constraint syntax isn't accepted by new version constraint parser (#25223)
  • config: Validate depends_on references in modules and outputs (#25261)
  • core: Fix crash with multiple nested modules (#25176)
  • core: Fix panic when importing with modules (#25208)
  • core: Allow targeting with expanded module addresses (#25206)
  • core: Allow referencing module instances (#25258)

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