Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

1,718,746

Downloads of v 1.7.0:

4,649

Last Update:

22 Jan 2024

Package Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

Tags:

terraform hashicorp

Terraform

This is not the latest version of Terraform available.

  • 1
  • 2
  • 3

1.7.0 | Updated: 22 Jan 2024

Downloads:

1,718,746

Downloads of v 1.7.0:

4,649

Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

Terraform 1.7.0

This is not the latest version of Terraform available.

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Mitchell Hashimoto, HashiCorp. The inclusion of Mitchell Hashimoto, HashiCorp trademark(s), if any, upon this webpage is solely to identify Mitchell Hashimoto, HashiCorp goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Exempted from verification testing since the installer could not be downloaded because verifier is unable to setup a SSL connection to the remote server.

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

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 https://community.chocolatey.org/api/v2/)


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 https://community.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

3. Copy Your Script

choco upgrade terraform -y --source="'INTERNAL REPO URL'" --version="'1.7.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="'1.7.0'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install terraform
  win_chocolatey:
    name: terraform
    version: '1.7.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


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

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller terraform
{
    Name     = "terraform"
    Version  = "1.7.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'terraform':
  ensure   => '1.7.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

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

Package Approved

This package was approved as a trusted package on 22 Jan 2024.

Description

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.


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

# DO NOT CHANGE THESE MANUALLY. USE update.ps1
$url = 'https://releases.hashicorp.com/terraform/1.7.0/terraform_1.7.0_windows_386.zip'
$url64 = 'https://releases.hashicorp.com/terraform/1.7.0/terraform_1.7.0_windows_amd64.zip'
$checksum = 'e5b3a32a6d9b3e8a1a55e7c93aacb836a0be569e4f6eaaace836640ba9e96406'
$checksum64 = 'fc6ee41ac81760d660e35ff5bb579c77eeb2a0856bf82dc15d107b7509f55e25'

$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
tools\chocolateyUninstall.ps1
UnInstall-ChocolateyZipPackage "terraform" "terraformInstall.zip"

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.10.0-alpha20241009 49 Thursday, October 10, 2024 Approved
Terraform 1.10.0-alpha20240926 210 Friday, September 27, 2024 Approved
Terraform 1.10.0-alpha20240918 126 Thursday, September 19, 2024 Approved
Terraform 1.10.0-alpha20240911 110 Thursday, September 12, 2024 Approved
Terraform 1.10.0-alpha20240828 219 Thursday, August 29, 2024 Approved
Terraform 1.10.0-alpha20240814 210 Thursday, August 15, 2024 Approved
Terraform 1.10.0-alpha20240807 115 Thursday, August 8, 2024 Approved
Terraform 1.10.0-alpha20240730 128 Wednesday, July 31, 2024 Approved
Terraform 1.10.0-alpha20240717 191 Thursday, July 18, 2024 Approved
Terraform 1.10.0-alpha20240619 375 Thursday, June 20, 2024 Approved
Terraform 1.10.0-alpha20240606 237 Friday, June 7, 2024 Approved
Terraform 1.9.6 10623 Thursday, September 19, 2024 Approved
Terraform 1.9.5 19760 Wednesday, August 21, 2024 Approved
Terraform 1.9.4 9700 Thursday, August 8, 2024 Approved
Terraform 1.9.3 9880 Thursday, July 25, 2024 Approved
Terraform 1.9.2 9784 Thursday, July 11, 2024 Approved
Terraform 1.9.1 6312 Thursday, July 4, 2024 Approved
Terraform 1.9.0 5897 Thursday, June 27, 2024 Approved
Terraform 1.9.0-rc3 14 Saturday, June 22, 2024 Approved
Terraform 1.9.0-rc2 16 Thursday, June 20, 2024 Approved
Terraform 1.9.0-rc1 24 Thursday, June 13, 2024 Approved
Terraform 1.9.0-beta1 89 Saturday, June 1, 2024 Approved
Terraform 1.9.0-alpha20240516 221 Friday, May 17, 2024 Approved
Terraform 1.9.0-alpha20240501 240 Thursday, May 2, 2024 Approved
Terraform 1.9.0-alpha20240404 58 Sunday, April 28, 2024 Approved
Terraform 1.8.5 15246 Thursday, June 6, 2024 Approved
Terraform 1.8.4 10290 Thursday, May 23, 2024 Approved
Terraform 1.8.3 11129 Thursday, May 9, 2024 Approved
Terraform 1.8.2 10181 Thursday, April 25, 2024 Approved
Terraform 1.8.1 4783 Monday, April 22, 2024 Approved
Terraform 1.8.0 10578 Thursday, April 11, 2024 Approved
Terraform 1.7.5 16567 Tuesday, March 19, 2024 Approved
Terraform 1.7.4 26680 Friday, March 8, 2024 Approved
Terraform 1.7.3 22548 Friday, February 9, 2024 Approved
Terraform 1.7.2 7175 Thursday, February 1, 2024 Approved
Terraform 1.7.1 6886 Thursday, January 25, 2024 Approved
Terraform 1.7.0 4649 Monday, January 22, 2024 Approved
Terraform 1.6.6 33423 Friday, December 15, 2023 Approved
Terraform 1.6.5 11394 Sunday, December 3, 2023 Approved
Terraform 1.6.4 12565 Thursday, November 16, 2023 Approved
Terraform 1.6.3 12771 Thursday, November 2, 2023 Approved
Terraform 1.6.2 10968 Thursday, October 19, 2023 Approved
Terraform 1.6.1 7813 Wednesday, October 11, 2023 Approved
Terraform 1.6.0 6728 Thursday, October 5, 2023 Approved
Terraform 1.5.7 19024 Wednesday, September 13, 2023 Approved
Terraform 1.5.6 16443 Wednesday, August 23, 2023 Approved
Terraform 1.5.5 9356 Friday, August 11, 2023 Approved
Terraform 1.5.4 11850 Thursday, July 27, 2023 Approved
Terraform 1.5.3 10788 Thursday, July 13, 2023 Approved
Terraform 1.5.2 7583 Thursday, July 6, 2023 Approved
Terraform 1.5.1 10071 Thursday, June 22, 2023 Approved
Terraform 1.5.0 10894 Tuesday, June 13, 2023 Approved
Terraform 1.4.7 39 Sunday, April 28, 2024 Approved
Terraform 1.4.6 29997 Thursday, April 27, 2023 Approved
Terraform 1.4.5 10780 Thursday, April 13, 2023 Approved
Terraform 1.4.4 9500 Monday, April 3, 2023 Approved
Terraform 1.4.3 61 Monday, April 3, 2023 Approved
Terraform 1.4.2 16997 Sunday, March 19, 2023 Approved
Terraform 1.4.1 194 Sunday, March 19, 2023 Approved
Terraform 1.4.0 367 Sunday, March 19, 2023 Approved
Terraform 1.3.10 128 Sunday, April 28, 2024 Approved
Terraform 1.3.9 29526 Friday, February 17, 2023 Approved
Terraform 1.3.8 217 Friday, February 17, 2023 Approved
Terraform 1.3.7 34458 Monday, January 16, 2023 Approved
Terraform 1.3.6 19107 Wednesday, December 14, 2022 Approved
Terraform 1.3.5 24586 Friday, November 18, 2022 Approved
Terraform 1.3.4 10457 Monday, November 7, 2022 Approved
Terraform 1.3.3 9577 Friday, October 28, 2022 Approved
Terraform 1.3.2 31953 Monday, October 10, 2022 Approved
Terraform 1.3.1 10227 Thursday, September 29, 2022 Approved
Terraform 1.3.0 13554 Thursday, September 22, 2022 Approved
Terraform 1.2.9 3439 Wednesday, September 21, 2022 Approved
Terraform 1.2.8 45450 Friday, August 26, 2022 Approved
Terraform 1.2.7 1677 Thursday, August 11, 2022 Approved
Terraform 1.2.6 17556 Monday, August 1, 2022 Approved
Terraform 1.2.5 6547 Friday, July 22, 2022 Approved
Terraform 1.2.4 10449 Tuesday, July 5, 2022 Approved
Terraform 1.2.3 14207 Wednesday, June 15, 2022 Approved
Terraform 1.2.2 16180 Wednesday, June 1, 2022 Approved
Terraform 1.2.1 7435 Tuesday, May 24, 2022 Approved
Terraform 1.2.0 4347 Thursday, May 19, 2022 Approved
Terraform 1.1.9 17160 Wednesday, April 20, 2022 Approved
Terraform 1.1.8 7913 Thursday, April 7, 2022 Approved
Terraform 1.1.7 19700 Sunday, March 6, 2022 Approved
Terraform 1.1.6 11943 Saturday, February 19, 2022 Approved
Terraform 1.1.5 11351 Friday, February 4, 2022 Approved
Terraform 1.1.4 15180 Saturday, January 22, 2022 Approved
Terraform 1.1.3 9359 Monday, January 10, 2022 Approved
Terraform 1.1.2 9342 Saturday, December 18, 2021 Approved
Terraform 1.1.1 183 Saturday, December 18, 2021 Approved
Terraform 1.1.0 7998 Wednesday, December 8, 2021 Approved
Terraform 1.0.11 21739 Saturday, November 13, 2021 Approved
Terraform 1.0.10 3825 Tuesday, November 9, 2021 Approved
Terraform 1.0.9 13516 Tuesday, October 19, 2021 Approved
Terraform 1.0.8 11874 Wednesday, September 29, 2021 Approved
Terraform 1.0.7 8723 Thursday, September 16, 2021 Approved
Terraform 1.0.6 5560 Wednesday, September 8, 2021 Approved
Terraform 1.0.5 778 Monday, August 23, 2021 Approved
Terraform 1.0.4 18079 Sunday, August 8, 2021 Approved
Terraform 1.0.3 6373 Thursday, July 29, 2021 Approved
Terraform 1.0.2 16222 Saturday, July 10, 2021 Approved
Terraform 1.0.1 12342 Monday, June 28, 2021 Approved
Terraform 1.0.0 12076 Tuesday, June 8, 2021 Approved
Terraform 0.15.5 1728 Tuesday, June 8, 2021 Approved
Terraform 0.15.4 3465 Monday, May 31, 2021 Approved
Terraform 0.15.3 13672 Friday, May 7, 2021 Approved
Terraform 0.15.2 20372 Friday, May 7, 2021 Approved
Terraform 0.15.1 4758 Tuesday, April 27, 2021 Approved
Terraform 0.15.0 5820 Wednesday, April 14, 2021 Approved
Terraform 0.14.11 9130 Tuesday, April 27, 2021 Approved
Terraform 0.14.10 11256 Wednesday, April 14, 2021 Approved
Terraform 0.14.9 5625 Tuesday, March 30, 2021 Approved
Terraform 0.14.8 10892 Monday, March 15, 2021 Approved
Terraform 0.14.7 11136 Thursday, February 18, 2021 Approved
Terraform 0.14.6 4783 Wednesday, February 10, 2021 Approved
Terraform 0.14.5 6144 Wednesday, January 27, 2021 Approved
Terraform 0.14.4 19033 Sunday, January 10, 2021 Approved
Terraform 0.14.3 5411 Sunday, December 20, 2020 Approved
Terraform 0.14.2 5581 Wednesday, December 9, 2020 Approved
Terraform 0.14.1 224 Wednesday, December 9, 2020 Approved
Terraform 0.14.0 2981 Tuesday, December 8, 2020 Approved
Terraform 0.13.7 13931 Tuesday, April 27, 2021 Approved
Terraform 0.13.6 1970 Sunday, January 10, 2021 Approved
Terraform 0.13.5 98887 Thursday, November 5, 2020 Approved
Terraform 0.13.4 11017 Wednesday, October 7, 2020 Approved
Terraform 0.13.3 9482 Friday, September 18, 2020 Approved
Terraform 0.13.2 15298 Wednesday, September 2, 2020 Approved
Terraform 0.13.1 559 Wednesday, September 2, 2020 Approved
Terraform 0.13.0 9346 Tuesday, August 11, 2020 Approved
Terraform 0.13.0-rc1 172 Monday, August 10, 2020 Approved
Terraform 0.13.0-beta3 444 Monday, July 13, 2020 Approved
Terraform 0.13.0-beta2 280 Thursday, June 25, 2020 Exempted
Terraform 0.13.0-beta1 345 Saturday, June 6, 2020 Exempted
Terraform 0.12.31 14669 Tuesday, April 27, 2021 Approved
Terraform 0.12.30 794 Sunday, January 10, 2021 Approved
Terraform 0.12.29 25404 Monday, August 10, 2020 Approved
Terraform 0.12.28 17602 Friday, June 26, 2020 Approved
Terraform 0.12.27 941 Thursday, June 25, 2020 Approved
Terraform 0.12.26 11226 Monday, June 1, 2020 Approved
Terraform 0.12.25 5963 Saturday, May 23, 2020 Approved
Terraform 0.12.24 23082 Tuesday, March 24, 2020 Approved
Terraform 0.12.23 2043 Wednesday, March 18, 2020 Approved
Terraform 0.12.21 11720 Friday, February 21, 2020 Approved
Terraform 0.12.20 11496 Friday, January 24, 2020 Approved
Terraform 0.12.19 6491 Friday, January 10, 2020 Approved
Terraform 0.12.18 11636 Friday, December 13, 2019 Approved
Terraform 0.12.17 4984 Tuesday, December 3, 2019 Approved
Terraform 0.12.16 3768 Tuesday, November 26, 2019 Approved
Terraform 0.12.15 275 Tuesday, November 26, 2019 Approved
Terraform 0.12.14 696 Tuesday, November 26, 2019 Approved
Terraform 0.12.13 9163 Monday, November 4, 2019 Approved
Terraform 0.12.12 6981 Monday, October 21, 2019 Approved
Terraform 0.12.11 263 Monday, October 21, 2019 Approved
Terraform 0.12.10 3017 Thursday, October 10, 2019 Approved
Terraform 0.12.9 9186 Wednesday, September 18, 2019 Approved
Terraform 0.12.8 3758 Friday, September 6, 2019 Approved
Terraform 0.12.7 4793 Friday, August 23, 2019 Approved
Terraform 0.12.6 4996 Friday, August 2, 2019 Approved
Terraform 0.12.5 3486 Friday, July 19, 2019 Approved
Terraform 0.12.4 1263 Monday, July 15, 2019 Approved
Terraform 0.12.3 3938 Tuesday, June 25, 2019 Approved
Terraform 0.12.2 2486 Thursday, June 13, 2019 Approved
Terraform 0.12.1 2025 Wednesday, June 5, 2019 Approved
Terraform 0.12.0 3518 Wednesday, May 22, 2019 Approved
Terraform 0.12.0-beta1 368 Tuesday, April 2, 2019 Approved
Terraform 0.12.0-alpha4 502 Friday, December 28, 2018 Approved
Terraform 0.12.0-alpha3 266 Friday, December 28, 2018 Approved
Terraform 0.12.0-alpha2 279 Friday, December 28, 2018 Approved
Terraform 0.12.0-alpha1 464 Tuesday, October 23, 2018 Approved
Terraform 0.11.15 4989 Tuesday, April 27, 2021 Approved
Terraform 0.11.14 27809 Wednesday, May 22, 2019 Approved
Terraform 0.11.13 15706 Tuesday, April 2, 2019 Approved
Terraform 0.11.12 282 Tuesday, April 2, 2019 Approved
Terraform 0.11.11 16134 Friday, December 28, 2018 Approved
Terraform 0.11.10 550 Friday, December 28, 2018 Approved
Terraform 0.11.9 7191 Tuesday, October 23, 2018 Approved
Terraform 0.11.8 24278 Thursday, August 30, 2018 Approved
Terraform 0.11.7 9104 Monday, April 16, 2018 Approved
Terraform 0.11.6 1026 Saturday, April 7, 2018 Approved
Terraform 0.11.5 1061 Wednesday, March 28, 2018 Approved
Terraform 0.11.4 776 Monday, April 16, 2018 Approved
Terraform 0.11.3 2878 Friday, February 16, 2018 Approved
Terraform 0.11.2 2040 Saturday, January 13, 2018 Approved
Terraform 0.11.1 1942 Thursday, December 7, 2017 Approved
Terraform 0.11.0 1480 Wednesday, November 22, 2017 Approved
Terraform 0.10.8 1939 Tuesday, October 31, 2017 Approved
Terraform 0.10.7 1408 Tuesday, October 3, 2017 Approved
Terraform 0.10.6 1574 Wednesday, September 20, 2017 Approved
Terraform 0.10.5 413 Wednesday, September 20, 2017 Approved
Terraform 0.10.4 422 Wednesday, September 20, 2017 Approved
Terraform 0.10.3 1186 Friday, September 1, 2017 Approved
Terraform 0.10.2 714 Thursday, August 24, 2017 Approved
Terraform 0.10.1 416 Thursday, August 24, 2017 Approved
Terraform 0.10.0 1083 Thursday, August 3, 2017 Approved
Terraform 0.10.0-rc1 480 Wednesday, August 2, 2017 Approved
Terraform 0.10.0-beta2 437 Wednesday, August 2, 2017 Approved
Terraform 0.10.0-beta1 453 Wednesday, July 5, 2017 Approved
Terraform 0.9.11 1780 Wednesday, July 5, 2017 Approved
Terraform 0.9.10 426 Wednesday, July 5, 2017 Approved
Terraform 0.9.9 411 Wednesday, July 5, 2017 Approved
Terraform 0.9.8 1313 Thursday, June 8, 2017 Approved
Terraform 0.9.7 434 Thursday, June 8, 2017 Approved
Terraform 0.9.6 758 Wednesday, May 31, 2017 Approved
Terraform 0.9.5 990 Friday, May 12, 2017 Approved
Terraform 0.9.4 752 Tuesday, May 2, 2017 Approved
Terraform 0.9.3 884 Thursday, April 13, 2017 Approved
Terraform 0.9.2 803 Monday, April 3, 2017 Approved
Terraform 0.9.1 964 Tuesday, March 21, 2017 Approved
Terraform 0.9.0 588 Thursday, March 16, 2017 Approved
Terraform 0.8.8 763 Monday, March 6, 2017 Approved
Terraform 0.8.7 835 Wednesday, February 22, 2017 Approved
Terraform 0.8.6 711 Wednesday, February 8, 2017 Approved
Terraform 0.8.5 633 Saturday, January 28, 2017 Approved
Terraform 0.8.4 636 Monday, January 16, 2017 Approved
Terraform 0.8.2 621 Thursday, December 22, 2016 Approved
Terraform 0.8.1 447 Friday, December 16, 2016 Approved
Terraform 0.8.0 478 Wednesday, December 14, 2016 Approved
Terraform 0.7.13 595 Wednesday, November 30, 2016 Approved
Terraform 0.7.12 426 Wednesday, November 30, 2016 Approved
Terraform 0.7.11 507 Tuesday, November 22, 2016 Approved
Terraform 0.7.10 378 Tuesday, November 22, 2016 Approved
Terraform 0.7.9 417 Tuesday, November 22, 2016 Approved
Terraform 0.7.8 577 Friday, November 4, 2016 Approved
Terraform 0.7.7 520 Sunday, October 23, 2016 Approved
Terraform 0.7.6 526 Sunday, October 16, 2016 Approved
Terraform 0.7.5 452 Sunday, October 16, 2016 Approved
Terraform 0.7.4 701 Thursday, September 22, 2016 Approved
Terraform 0.7.3 487 Thursday, September 22, 2016 Approved
Terraform 0.7.2 627 Tuesday, August 30, 2016 Approved
Terraform 0.7.1 466 Thursday, August 25, 2016 Approved
Terraform 0.7.0 582 Tuesday, August 2, 2016 Approved
Terraform 0.6.16 465 Tuesday, May 17, 2016 Approved
Terraform 0.6.15 464 Wednesday, April 27, 2016 Approved
Terraform 0.6.14 529 Tuesday, March 22, 2016 Approved
Terraform 0.6.13 410 Tuesday, March 22, 2016 Approved
Terraform 0.6.12 520 Monday, February 29, 2016 Approved
Terraform 0.6.11 452 Tuesday, February 2, 2016 Approved
Terraform 0.6.10 417 Tuesday, February 2, 2016 Approved
Terraform 0.6.9 471 Sunday, January 10, 2016 Approved
Terraform 0.6.8 459 Tuesday, December 8, 2015 Approved
Terraform 0.6.7 401 Tuesday, December 8, 2015 Approved
Terraform 0.6.6 442 Thursday, October 29, 2015 Approved
Terraform 0.6.5 426 Thursday, October 29, 2015 Approved
Terraform 0.6.4 432 Thursday, October 29, 2015 Approved
Terraform 0.6.3 382 Wednesday, August 12, 2015 Approved
Terraform 0.6.2 442 Wednesday, August 12, 2015 Approved
Terraform 0.6.1 419 Wednesday, August 12, 2015 Approved
Terraform 0.6.0 440 Thursday, July 9, 2015 Approved
Terraform 0.5.3 637 Wednesday, June 3, 2015 Approved
Terraform 0.5.2 427 Wednesday, June 3, 2015 Approved
Terraform 0.5.0 462 Wednesday, June 3, 2015 Approved
Terraform 0.4.0 456 Thursday, April 9, 2015 Approved
Terraform 0.3.6 522 Thursday, April 2, 2015 Approved

1.7.0 (January 17, 2024)

UPGRADE NOTES:

  • Input validations are being restored to the state file in this version of Terraform. Due to a state interoperability issue (#33770) in earlier versions, users that require interaction between different minor series should ensure they have upgraded to the following patches:

    • Users of Terraform prior to 1.3.0 are unaffected;
    • Terraform 1.3 series users should upgrade to 1.3.10;
    • Terraform 1.4 series users should upgrade to 1.4.7;
    • Terraform 1.5 series users should upgrade to 1.5.7;
    • Users of Terraform 1.6.0 and later are unaffected.

    This is important for users with terraform_remote_state data sources reading remote state across different versions of Terraform.

  • nonsensitive function no longer raises an error when applied to a value that is already non-sensitive. (#33856)

  • terraform graph now produces a simplified graph describing only relationships between resources by default, for consistency with the granularity of information returned by other commands that emphasize resources as the main interesting object type and de-emphasize the other "glue" objects that connect them.

    The type of graph that earlier versions of Terraform produced by default is still available with explicit use of the -type=plan option, producing an approximation of the real dependency graph Terraform Core would use to construct a plan.

  • terraform test: Simplify the ordering of destroy operations during test cleanup to simple reverse run block order. (#34293)

  • backend/s3: The use_legacy_workflow argument now defaults to false. The backend will now search for credentials in the same order as the default provider chain in the AWS SDKs and AWS CLI. To revert to the legacy credential provider chain ordering, set this value to true. This argument, and the ability to use the legacy workflow, is deprecated. To encourage consistency with the AWS SDKs, this argument will be removed in a future minor version.

NEW FEATURES:

  • terraform test: Providers, modules, resources, and data sources can now be mocked during executions of terraform test. The following new blocks have been introduced within .tftest.hcl files:

    • mock_provider: Can replace provider instances with mocked providers, allowing tests to execute in command = apply mode without requiring a configured cloud provider account and credentials. Terraform will create fake resources for mocked providers and maintain them in state for the lifecycle of the given test file.
    • override_resource: Specific resources can be overridden so Terraform will create a fake resource with custom values instead of creating infrastructure for the overridden resource.
    • override_data: Specific data sources can be overridden so data can be imported into tests without requiring real infrastructure to be created externally first.
    • override_module: Specific modules can be overridden in their entirety to give greater control over the returned outputs without requiring in-depth knowledge of the module itself.
  • removed block for refactoring modules: Module authors can now record in source code when a resource or module call has been removed from configuration, and can inform Terraform whether the corresponding object should be deleted or simply removed from state.

    This effectively provides a configuration-driven workflow to replace terraform state rm. Removing an object from state is a new type of action which is planned and applied like any other. The terraform state rm command will remain available for scenarios in which directly modifying the state file is appropriate.

BUG FIXES:

  • Ignore potential remote terraform version mismatch when running force-unlock (#28853)
  • Exit Dockerfile build script early on cd failure. (#34128)
  • terraform test: Stop attempting to destroy run blocks that have no actual infrastructure to destroy. This fixes an issue where attempts to destroy "verification" run blocks that load only data sources would fail if the underlying infrastructure referenced by the run blocks had already been destroyed. (#34331)
  • terraform test: Improve error message for invalid run block names. (#34469)
  • terraform test: Fix bug where outputs in "empty" modules were not available to the assertions from Terraform test files. (#34482)
  • security: Upstream patch to mitigate the security advisory CVE-2023-48795, which potentially affects local-exec and file provisioners connecting to remote hosts using SSH. (#34426)

ENHANCEMENTS:

  • terraform test: Providers defined within test files can now reference variables from their configuration that are defined within the test file. (#34069)
  • terraform test: Providers defined within test files can now reference outputs from run blocks. (#34118)
  • terraform test: Terraform functions are now available within variables and provider blocks within test files. (#34204)
  • terraform test: Terraform will now load variables from any terraform.tfvars within the testing directory, and apply the variable values to tests within the same directory. (#34341)
  • terraform graph: Now produces a simplified resources-only graph by default. (#34288)
  • terraform console: Now supports a -plan option which allows evaluating expressions against the planned new state, rather than against the prior state. This provides a more complete set of values for use in console expressions, at the expense of a slower startup time due first calculating the plan. (#34342)
  • import: for_each can now be used to expand the import block to handle multiple resource instances (#33932)
  • If the proposed change for a resource instance is rejected either due to a postcondition block or a prevent_destroy setting, Terraform will now include that proposed change in the plan output alongside the relevant error, whereas before the error would replace the proposed change in the output. (#34312)
  • .terraformignore: improve performance when ignoring large directories (#34400)

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