Welcome to the Chocolatey Community Package Repository! The packages found in this section of the site are provided, maintained, and moderated by the community.
Moderation
Every version of each package undergoes a rigorous moderation process before it goes live that typically includes:
- Security, consistency, and quality checking
- Installation testing
- Virus checking through VirusTotal
- Human moderators who give final review and sign off
More detail at Security and Moderation.
Organizational Use
If you are an organization using Chocolatey, we want your experience to be fully reliable. Due to the nature of this publicly offered repository, reliability cannot be guaranteed. Packages offered here are subject to distribution rights, which means they may need to reach out further to the internet to the official locations to download files at runtime.
Fortunately, distribution rights do not apply for internal use. With any edition of Chocolatey (including the free open source edition), you can host your own packages and cache or internalize existing community packages.
Disclaimer
Your use of the packages on this site means you understand they are not supported or guaranteed in any way. Learn more...
- Passing
- Failing
- Pending
- Unknown / Exempted

Downloads:
373,272
Downloads of v 0.13.1:
231
Last Update:
02 Sep 2020
Package Maintainer(s):
Software Author(s):
- Mitchell Hashimoto
- HashiCorp
Tags:
terraform hashicorp- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download

Terraform
This is not the latest version of Terraform available.
- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
373,272
Downloads of v 0.13.1:
231
Maintainer(s):
Software Author(s):
- Mitchell Hashimoto
- HashiCorp
Edit Package
To edit the metadata for a package, please upload an updated version of the package.
Chocolatey's Community Package Repository currently does not allow updating package metadata on the website. This helps ensure that the package itself (and the source used to build the package) remains the one true source of package metadata.
This does require that you increment the package version.
Terraform 0.13.1
This is not the latest version of Terraform available.
All Checks are Passing
2 Passing Test
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:
NOTE: This applies to both open source and commercial editions of Chocolatey.
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 https://chocolatey.org/api/v2. 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
-
Open Source
- Download the Package Download
- Follow manual internalization instructions
-
Package Internalizer (C4B)
- Run
choco download terraform --internalize --version=0.13.1 --source=https://chocolatey.org/api/v2
(additional options) - Run
choco push --source="'http://internal/odata/repo'"
for package and dependencies - Automate package internalization
- Run
3. Enter your internal repository url
(this should look similar to https://chocolatey.org/api/v2)
4. Choose your deployment method:
choco upgrade terraform -y --source="'STEP 3 URL'" [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="'STEP 3 URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Ensure terraform installed
win_chocolatey:
name: terraform
state: present
version: 0.13.1
source: STEP 3 URL
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
Coming early 2020! Central Managment Reporting available now! More information...
chocolatey_package 'terraform' do
action :install
version '0.13.1'
source 'STEP 3 URL'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
Chocolatey::Ensure-Package
(
Name: terraform,
Version: 0.13.1,
Source: STEP 3 URL
);
Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.
cChocoPackageInstaller terraform
{
Name = 'terraform'
Ensure = 'Present'
Version = '0.13.1'
Source = 'STEP 3 URL'
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'terraform':
provider => 'chocolatey',
ensure => '0.13.1',
source => 'STEP 3 URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
salt '*' chocolatey.install terraform version="0.13.1" source="STEP 3 URL"
See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.
5. 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 was approved as a trusted package on 03 Sep 2020.
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'
# DO NOT CHANGE THESE MANUALLY. USE update.ps1
$url = 'https://releases.hashicorp.com/terraform/0.13.1/terraform_0.13.1_windows_386.zip'
$url64 = 'https://releases.hashicorp.com/terraform/0.13.1/terraform_0.13.1_windows_amd64.zip'
$checksum = 'af1babe4ad7aa2e88fbf12e3ee176846db859617c572f3480de59f9284460457'
$checksum64 = 'fa7b17147baf4aca478ae83b25c14c1baa064a118a21e0e7b34e3d70e1732b6d'
$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" "terraformInstall.zip"
Log in or click on link to see number of positives.
- terraform.0.13.1.nupkg (98125778eeae) - ## / 63
- terraform_0.13.1_windows_amd64.zip (fa7b17147baf) - ## / 61
- terraform_0.13.1_windows_386.zip (af1babe4ad7a) - ## / 62
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.
Version | Downloads | Last Updated | Status |
---|---|---|---|
Terraform 0.14.7 | 2204 | Thursday, February 18, 2021 | Approved |
Terraform 0.14.6 | 3356 | Wednesday, February 10, 2021 | Approved |
Terraform 0.14.5 | 4868 | Wednesday, January 27, 2021 | Approved |
Terraform 0.14.4 | 5332 | Sunday, January 10, 2021 | Approved |
Terraform 0.14.3 | 4490 | Sunday, December 20, 2020 | Approved |
Terraform 0.14.2 | 3734 | Wednesday, December 9, 2020 | Approved |
Terraform 0.14.1 | 52 | Wednesday, December 9, 2020 | Approved |
Terraform 0.14.0 | 1495 | Tuesday, December 8, 2020 | Approved |
Terraform 0.13.6 | 379 | Sunday, January 10, 2021 | Approved |
Terraform 0.13.5 | 13132 | Thursday, November 5, 2020 | Approved |
Terraform 0.13.4 | 8683 | Wednesday, October 7, 2020 | Approved |
Terraform 0.13.3 | 5820 | Friday, September 18, 2020 | Approved |
Terraform 0.13.2 | 5687 | Wednesday, September 2, 2020 | Approved |
Terraform 0.13.1 | 231 | Wednesday, September 2, 2020 | Approved |
Terraform 0.13.0 | 7503 | Tuesday, August 11, 2020 | Approved |
Terraform 0.13.0-rc1 | 44 | Monday, August 10, 2020 | Approved |
Terraform 0.13.0-beta3 | 306 | Monday, July 13, 2020 | Approved |
Terraform 0.13.0-beta2 | 151 | Thursday, June 25, 2020 | Exempted |
Terraform 0.13.0-beta1 | 196 | Saturday, June 6, 2020 | Exempted |
Terraform 0.12.30 | 147 | Sunday, January 10, 2021 | Approved |
Terraform 0.12.29 | 10736 | Monday, August 10, 2020 | Approved |
Terraform 0.12.28 | 13994 | Friday, June 26, 2020 | Approved |
Terraform 0.12.27 | 785 | Thursday, June 25, 2020 | Approved |
Terraform 0.12.26 | 9834 | Monday, June 1, 2020 | Approved |
Terraform 0.12.25 | 5716 | Saturday, May 23, 2020 | Approved |
Terraform 0.12.24 | 21077 | Tuesday, March 24, 2020 | Approved |
Terraform 0.12.23 | 1734 | Wednesday, March 18, 2020 | Approved |
Terraform 0.12.21 | 11439 | Friday, February 21, 2020 | Approved |
Terraform 0.12.20 | 11247 | Friday, January 24, 2020 | Approved |
Terraform 0.12.19 | 6230 | Friday, January 10, 2020 | Approved |
Terraform 0.12.18 | 9379 | Friday, December 13, 2019 | Approved |
Terraform 0.12.17 | 4695 | Tuesday, December 3, 2019 | Approved |
Terraform 0.12.16 | 3309 | Tuesday, November 26, 2019 | Approved |
Terraform 0.12.15 | 116 | Tuesday, November 26, 2019 | Approved |
Terraform 0.12.14 | 206 | Tuesday, November 26, 2019 | Approved |
Terraform 0.12.13 | 8988 | Monday, November 4, 2019 | Approved |
Terraform 0.12.12 | 5912 | Monday, October 21, 2019 | Approved |
Terraform 0.12.11 | 144 | Monday, October 21, 2019 | Approved |
Terraform 0.12.10 | 2796 | Thursday, October 10, 2019 | Approved |
Terraform 0.12.9 | 8866 | Wednesday, September 18, 2019 | Approved |
Terraform 0.12.8 | 3540 | Friday, September 6, 2019 | Approved |
Terraform 0.12.7 | 4116 | Friday, August 23, 2019 | Approved |
Terraform 0.12.6 | 4719 | Friday, August 2, 2019 | Approved |
Terraform 0.12.5 | 3134 | Friday, July 19, 2019 | Approved |
Terraform 0.12.4 | 1100 | Monday, July 15, 2019 | Approved |
Terraform 0.12.3 | 3674 | Tuesday, June 25, 2019 | Approved |
Terraform 0.12.2 | 2319 | Thursday, June 13, 2019 | Approved |
Terraform 0.12.1 | 1875 | Wednesday, June 5, 2019 | Approved |
Terraform 0.12.0 | 2608 | Wednesday, May 22, 2019 | Approved |
Terraform 0.12.0-beta1 | 245 | Tuesday, April 2, 2019 | Approved |
Terraform 0.12.0-alpha4 | 384 | Friday, December 28, 2018 | Approved |
Terraform 0.12.0-alpha3 | 140 | Friday, December 28, 2018 | Approved |
Terraform 0.12.0-alpha2 | 137 | Friday, December 28, 2018 | Approved |
Terraform 0.12.0-alpha1 | 334 | Tuesday, October 23, 2018 | Approved |
Terraform 0.11.14 | 26159 | Wednesday, May 22, 2019 | Approved |
Terraform 0.11.13 | 14594 | Tuesday, April 2, 2019 | Approved |
Terraform 0.11.12 | 155 | Tuesday, April 2, 2019 | Approved |
Terraform 0.11.11 | 15839 | Friday, December 28, 2018 | Approved |
Terraform 0.11.10 | 397 | Friday, December 28, 2018 | Approved |
Terraform 0.11.9 | 6993 | Tuesday, October 23, 2018 | Approved |
Terraform 0.11.8 | 22240 | Thursday, August 30, 2018 | Approved |
Terraform 0.11.7 | 8845 | Monday, April 16, 2018 | Approved |
Terraform 0.11.6 | 903 | Saturday, April 7, 2018 | Approved |
Terraform 0.11.5 | 889 | Wednesday, March 28, 2018 | Approved |
Terraform 0.11.4 | 587 | Monday, April 16, 2018 | Approved |
Terraform 0.11.3 | 2693 | Friday, February 16, 2018 | Approved |
Terraform 0.11.2 | 1900 | Saturday, January 13, 2018 | Approved |
Terraform 0.11.1 | 1766 | Thursday, December 7, 2017 | Approved |
Terraform 0.11.0 | 1205 | Wednesday, November 22, 2017 | Approved |
Terraform 0.10.8 | 1739 | Tuesday, October 31, 2017 | Approved |
Terraform 0.10.7 | 1276 | Tuesday, October 3, 2017 | Approved |
Terraform 0.10.6 | 1444 | Wednesday, September 20, 2017 | Approved |
Terraform 0.10.5 | 294 | Wednesday, September 20, 2017 | Approved |
Terraform 0.10.4 | 283 | Wednesday, September 20, 2017 | Approved |
Terraform 0.10.3 | 1058 | Friday, September 1, 2017 | Approved |
Terraform 0.10.2 | 590 | Thursday, August 24, 2017 | Approved |
Terraform 0.10.1 | 281 | Thursday, August 24, 2017 | Approved |
Terraform 0.10.0 | 931 | Thursday, August 3, 2017 | Approved |
Terraform 0.10.0-rc1 | 350 | Wednesday, August 2, 2017 | Approved |
Terraform 0.10.0-beta2 | 297 | Wednesday, August 2, 2017 | Approved |
Terraform 0.10.0-beta1 | 330 | Wednesday, July 5, 2017 | Approved |
Terraform 0.9.11 | 1613 | Wednesday, July 5, 2017 | Approved |
Terraform 0.9.10 | 268 | Wednesday, July 5, 2017 | Approved |
Terraform 0.9.9 | 289 | Wednesday, July 5, 2017 | Approved |
Terraform 0.9.8 | 1173 | Thursday, June 8, 2017 | Approved |
Terraform 0.9.7 | 302 | Thursday, June 8, 2017 | Approved |
Terraform 0.9.6 | 609 | Wednesday, May 31, 2017 | Approved |
Terraform 0.9.5 | 874 | Friday, May 12, 2017 | Approved |
Terraform 0.9.4 | 641 | Tuesday, May 2, 2017 | Approved |
Terraform 0.9.3 | 752 | Thursday, April 13, 2017 | Approved |
Terraform 0.9.2 | 685 | Monday, April 3, 2017 | Approved |
Terraform 0.9.1 | 858 | Tuesday, March 21, 2017 | Approved |
Terraform 0.9.0 | 474 | Thursday, March 16, 2017 | Approved |
Terraform 0.8.8 | 657 | Monday, March 6, 2017 | Approved |
Terraform 0.8.7 | 746 | Wednesday, February 22, 2017 | Approved |
Terraform 0.8.6 | 590 | Wednesday, February 8, 2017 | Approved |
Terraform 0.8.5 | 520 | Saturday, January 28, 2017 | Approved |
Terraform 0.8.4 | 516 | Monday, January 16, 2017 | Approved |
Terraform 0.8.2 | 495 | Thursday, December 22, 2016 | Approved |
Terraform 0.8.1 | 312 | Friday, December 16, 2016 | Approved |
Terraform 0.8.0 | 372 | Wednesday, December 14, 2016 | Approved |
Terraform 0.7.13 | 474 | Wednesday, November 30, 2016 | Approved |
Terraform 0.7.12 | 316 | Wednesday, November 30, 2016 | Approved |
Terraform 0.7.11 | 404 | Tuesday, November 22, 2016 | Approved |
Terraform 0.7.10 | 272 | Tuesday, November 22, 2016 | Approved |
Terraform 0.7.9 | 278 | Tuesday, November 22, 2016 | Approved |
Terraform 0.7.8 | 460 | Friday, November 4, 2016 | Approved |
Terraform 0.7.7 | 420 | Sunday, October 23, 2016 | Approved |
Terraform 0.7.6 | 431 | Sunday, October 16, 2016 | Approved |
Terraform 0.7.5 | 346 | Sunday, October 16, 2016 | Approved |
Terraform 0.7.4 | 589 | Thursday, September 22, 2016 | Approved |
Terraform 0.7.3 | 355 | Thursday, September 22, 2016 | Approved |
Terraform 0.7.2 | 517 | Tuesday, August 30, 2016 | Approved |
Terraform 0.7.1 | 365 | Thursday, August 25, 2016 | Approved |
Terraform 0.7.0 | 468 | Tuesday, August 2, 2016 | Approved |
Terraform 0.6.16 | 331 | Tuesday, May 17, 2016 | Approved |
Terraform 0.6.15 | 349 | Wednesday, April 27, 2016 | Approved |
Terraform 0.6.14 | 422 | Tuesday, March 22, 2016 | Approved |
Terraform 0.6.13 | 299 | Tuesday, March 22, 2016 | Approved |
Terraform 0.6.12 | 387 | Monday, February 29, 2016 | Approved |
Terraform 0.6.11 | 349 | Tuesday, February 2, 2016 | Approved |
Terraform 0.6.10 | 302 | Tuesday, February 2, 2016 | Approved |
Terraform 0.6.9 | 345 | Sunday, January 10, 2016 | Approved |
Terraform 0.6.8 | 351 | Tuesday, December 8, 2015 | Approved |
Terraform 0.6.7 | 283 | Tuesday, December 8, 2015 | Approved |
Terraform 0.6.6 | 325 | Thursday, October 29, 2015 | Approved |
Terraform 0.6.5 | 302 | Thursday, October 29, 2015 | Approved |
Terraform 0.6.4 | 312 | Thursday, October 29, 2015 | Approved |
Terraform 0.6.3 | 257 | Wednesday, August 12, 2015 | Approved |
Terraform 0.6.2 | 295 | Wednesday, August 12, 2015 | Approved |
Terraform 0.6.1 | 313 | Wednesday, August 12, 2015 | Approved |
Terraform 0.6.0 | 319 | Thursday, July 9, 2015 | Approved |
Terraform 0.5.3 | 511 | Wednesday, June 3, 2015 | Approved |
Terraform 0.5.2 | 310 | Wednesday, June 3, 2015 | Approved |
Terraform 0.5.0 | 353 | Wednesday, June 3, 2015 | Approved |
Terraform 0.4.0 | 344 | Thursday, April 9, 2015 | Approved |
Terraform 0.3.6 | 396 | Thursday, April 2, 2015 | Approved |
HashiCorp 2015-2019
0.13.1 (August 26, 2020)
ENHANCEMENTS:
- config:
cidrsubnet
andcidrhost
now support address extensions of more than 32 bits (#25517) - cli: The directories that Terraform searches by default for provider plugins can now be symlinks to directories elsewhere. (This applies only to the top-level directory, not to nested directories inside it.) (#25692)
- backend/s3: simplified mock handling and assume role testing (#25903)
- backend/s3: support for appending data to the User-Agent request header with the TF_APPEND_USER_AGENT environment variable (#25903)
BUG FIXES:
- config: Override files containing
module
blocks can now override the specialproviders
argument. (#25496) - cli: The state lock will now be unlocked consistently across both the local and remote backends in the
terraform console
andterraform import
commands. [#25454] - cli: The
-target
option toterraform plan
andterraform apply
now correctly handles addresses containing module instance indexes. (#25760) - cli:
terraform state mv
can now move the last resource from a module without panicking. (#25523) - cli: If the output of
terraform version
contains an outdated version notice, this is now printed after the version number and not before. (#25811) - command: Prevent creation of workspaces with invalid names via the
TF_WORKSPACE
environment variable, and allow any existing invalid workspaces to be deleted. (#25262) - command: Fix error when multiple
-no-color
flags are set on the command line. (#25847) - command: Fix backend config override validation, allowing the use of
-backend-config
override files with the enhanced remote backend. (#25960) - core: State snapshots now use a consistent ordering for resources that have the same name across different modules. Previously the ordering was undefined. (#25498)
- core: A
dynamic
block producing an unknown number of blocks will no longer incorrectly produce the error "Provider produced inconsistent final plan" when the block type is backed by a set of objects. (#25662) - core: Terraform will now silently drop attributes that appear in the state but are not present in the corresponding resource type schema, on the assumption that those attributes existed in a previous version of the provider and have now been removed. (#25779)
- core: The state upgrade logic for handling unqualified provider addresses from Terraform v0.11 and earlier will no longer panic when it encounters references to the built-in
terraform
provider. (#25861) - internal: Clean up provider package download temporary files after installing. (#25990)
- terraform: Evaluate module call arguments for
terraform import
even if defaults are given for input variables (#25890) - terraform: Fix misleading Terraform
required_version
constraint diagnostics when multiplerequired_version
settings exist in a single module (#25898)
Previous Releases
For more information on previous releases, check out the changelog on GitHub.
This package has no dependencies.
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.