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,523,656

Downloads of v 1.1.0:

7,907

Last Update:

08 Dec 2021

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.1.0 | Updated: 08 Dec 2021

Downloads:

1,523,656

Downloads of v 1.1.0:

7,907

Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

Terraform 1.1.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

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.1.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.1.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.1.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.1.0'
end

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


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

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


package { 'terraform':
  ensure   => '1.1.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 08 Dec 2021.

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.1.0/terraform_1.1.0_windows_386.zip'
$url64 = 'https://releases.hashicorp.com/terraform/1.1.0/terraform_1.1.0_windows_amd64.zip'
$checksum = 'e1498d7e3e7254b24102e7d2d683f84b465bf2b6ca24fb648e80055fb9298ad8'
$checksum64 = 'a7cb68e34c49336f8bd9792dba3ee350a9eccffb0b9c3ce7275e18e35ad4776b'

$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.8.1 3724 Monday, April 22, 2024 Approved
Terraform 1.8.0 8870 Thursday, April 11, 2024 Approved
Terraform 1.7.5 16275 Tuesday, March 19, 2024 Approved
Terraform 1.7.4 12556 Friday, March 8, 2024 Approved
Terraform 1.7.3 21709 Friday, February 9, 2024 Approved
Terraform 1.7.2 7067 Thursday, February 1, 2024 Approved
Terraform 1.7.1 6813 Thursday, January 25, 2024 Approved
Terraform 1.7.0 4467 Monday, January 22, 2024 Approved
Terraform 1.6.6 27500 Friday, December 15, 2023 Approved
Terraform 1.6.5 11239 Sunday, December 3, 2023 Approved
Terraform 1.6.4 12249 Thursday, November 16, 2023 Approved
Terraform 1.6.3 12696 Thursday, November 2, 2023 Approved
Terraform 1.6.2 10907 Thursday, October 19, 2023 Approved
Terraform 1.6.1 7766 Wednesday, October 11, 2023 Approved
Terraform 1.6.0 5851 Thursday, October 5, 2023 Approved
Terraform 1.5.7 18090 Wednesday, September 13, 2023 Approved
Terraform 1.5.6 16289 Wednesday, August 23, 2023 Approved
Terraform 1.5.5 9189 Friday, August 11, 2023 Approved
Terraform 1.5.4 11595 Thursday, July 27, 2023 Approved
Terraform 1.5.3 10740 Thursday, July 13, 2023 Approved
Terraform 1.5.2 6592 Thursday, July 6, 2023 Approved
Terraform 1.5.1 10023 Thursday, June 22, 2023 Approved
Terraform 1.5.0 10439 Tuesday, June 13, 2023 Approved
Terraform 1.4.6 29633 Thursday, April 27, 2023 Approved
Terraform 1.4.5 10721 Thursday, April 13, 2023 Approved
Terraform 1.4.4 9467 Monday, April 3, 2023 Approved
Terraform 1.4.3 47 Monday, April 3, 2023 Approved
Terraform 1.4.2 15624 Sunday, March 19, 2023 Approved
Terraform 1.4.1 178 Sunday, March 19, 2023 Approved
Terraform 1.4.0 321 Sunday, March 19, 2023 Approved
Terraform 1.3.9 28776 Friday, February 17, 2023 Approved
Terraform 1.3.8 174 Friday, February 17, 2023 Approved
Terraform 1.3.7 32955 Monday, January 16, 2023 Approved
Terraform 1.3.6 18977 Wednesday, December 14, 2022 Approved
Terraform 1.3.5 24309 Friday, November 18, 2022 Approved
Terraform 1.3.4 10404 Monday, November 7, 2022 Approved
Terraform 1.3.3 9266 Friday, October 28, 2022 Approved
Terraform 1.3.2 28547 Monday, October 10, 2022 Approved
Terraform 1.3.1 10120 Thursday, September 29, 2022 Approved
Terraform 1.3.0 12659 Thursday, September 22, 2022 Approved
Terraform 1.2.9 3140 Wednesday, September 21, 2022 Approved
Terraform 1.2.8 37710 Friday, August 26, 2022 Approved
Terraform 1.2.7 1648 Thursday, August 11, 2022 Approved
Terraform 1.2.6 16889 Monday, August 1, 2022 Approved
Terraform 1.2.5 6404 Friday, July 22, 2022 Approved
Terraform 1.2.4 10427 Tuesday, July 5, 2022 Approved
Terraform 1.2.3 14135 Wednesday, June 15, 2022 Approved
Terraform 1.2.2 16124 Wednesday, June 1, 2022 Approved
Terraform 1.2.1 7359 Tuesday, May 24, 2022 Approved
Terraform 1.2.0 4234 Thursday, May 19, 2022 Approved
Terraform 1.1.9 17090 Wednesday, April 20, 2022 Approved
Terraform 1.1.8 7874 Thursday, April 7, 2022 Approved
Terraform 1.1.7 19612 Sunday, March 6, 2022 Approved
Terraform 1.1.6 11692 Saturday, February 19, 2022 Approved
Terraform 1.1.5 11197 Friday, February 4, 2022 Approved
Terraform 1.1.4 14284 Saturday, January 22, 2022 Approved
Terraform 1.1.3 9313 Monday, January 10, 2022 Approved
Terraform 1.1.2 9297 Saturday, December 18, 2021 Approved
Terraform 1.1.1 169 Saturday, December 18, 2021 Approved
Terraform 1.1.0 7907 Wednesday, December 8, 2021 Approved
Terraform 1.0.11 21515 Saturday, November 13, 2021 Approved
Terraform 1.0.10 3787 Tuesday, November 9, 2021 Approved
Terraform 1.0.9 13486 Tuesday, October 19, 2021 Approved
Terraform 1.0.8 11842 Wednesday, September 29, 2021 Approved
Terraform 1.0.7 8685 Thursday, September 16, 2021 Approved
Terraform 1.0.6 5540 Wednesday, September 8, 2021 Approved
Terraform 1.0.5 741 Monday, August 23, 2021 Approved
Terraform 1.0.4 18023 Sunday, August 8, 2021 Approved
Terraform 1.0.3 6310 Thursday, July 29, 2021 Approved
Terraform 1.0.2 16195 Saturday, July 10, 2021 Approved
Terraform 1.0.1 12321 Monday, June 28, 2021 Approved
Terraform 1.0.0 11794 Tuesday, June 8, 2021 Approved
Terraform 0.15.5 1661 Tuesday, June 8, 2021 Approved
Terraform 0.15.4 3453 Monday, May 31, 2021 Approved
Terraform 0.15.3 13484 Friday, May 7, 2021 Approved
Terraform 0.15.2 19032 Friday, May 7, 2021 Approved
Terraform 0.15.1 4645 Tuesday, April 27, 2021 Approved
Terraform 0.15.0 5788 Wednesday, April 14, 2021 Approved
Terraform 0.14.11 8309 Tuesday, April 27, 2021 Approved
Terraform 0.14.10 11206 Wednesday, April 14, 2021 Approved
Terraform 0.14.9 5607 Tuesday, March 30, 2021 Approved
Terraform 0.14.8 10866 Monday, March 15, 2021 Approved
Terraform 0.14.7 11102 Thursday, February 18, 2021 Approved
Terraform 0.14.6 4764 Wednesday, February 10, 2021 Approved
Terraform 0.14.5 6123 Wednesday, January 27, 2021 Approved
Terraform 0.14.4 16829 Sunday, January 10, 2021 Approved
Terraform 0.14.3 5370 Sunday, December 20, 2020 Approved
Terraform 0.14.2 5566 Wednesday, December 9, 2020 Approved
Terraform 0.14.1 208 Wednesday, December 9, 2020 Approved
Terraform 0.14.0 2946 Tuesday, December 8, 2020 Approved
Terraform 0.13.7 13609 Tuesday, April 27, 2021 Approved
Terraform 0.13.6 1940 Sunday, January 10, 2021 Approved
Terraform 0.13.5 90586 Thursday, November 5, 2020 Approved
Terraform 0.13.4 10991 Wednesday, October 7, 2020 Approved
Terraform 0.13.3 9463 Friday, September 18, 2020 Approved
Terraform 0.13.2 15277 Wednesday, September 2, 2020 Approved
Terraform 0.13.1 521 Wednesday, September 2, 2020 Approved
Terraform 0.13.0 9272 Tuesday, August 11, 2020 Approved
Terraform 0.13.0-rc1 158 Monday, August 10, 2020 Approved
Terraform 0.13.0-beta3 434 Monday, July 13, 2020 Approved
Terraform 0.13.0-beta2 272 Thursday, June 25, 2020 Exempted
Terraform 0.13.0-beta1 331 Saturday, June 6, 2020 Exempted
Terraform 0.12.31 14502 Tuesday, April 27, 2021 Approved
Terraform 0.12.30 776 Sunday, January 10, 2021 Approved
Terraform 0.12.29 25363 Monday, August 10, 2020 Approved
Terraform 0.12.28 17583 Friday, June 26, 2020 Approved
Terraform 0.12.27 923 Thursday, June 25, 2020 Approved
Terraform 0.12.26 11173 Monday, June 1, 2020 Approved
Terraform 0.12.25 5938 Saturday, May 23, 2020 Approved
Terraform 0.12.24 23004 Tuesday, March 24, 2020 Approved
Terraform 0.12.23 2022 Wednesday, March 18, 2020 Approved
Terraform 0.12.21 11705 Friday, February 21, 2020 Approved
Terraform 0.12.20 11482 Friday, January 24, 2020 Approved
Terraform 0.12.19 6470 Friday, January 10, 2020 Approved
Terraform 0.12.18 11616 Friday, December 13, 2019 Approved
Terraform 0.12.17 4959 Tuesday, December 3, 2019 Approved
Terraform 0.12.16 3747 Tuesday, November 26, 2019 Approved
Terraform 0.12.15 257 Tuesday, November 26, 2019 Approved
Terraform 0.12.14 657 Tuesday, November 26, 2019 Approved
Terraform 0.12.13 9149 Monday, November 4, 2019 Approved
Terraform 0.12.12 6957 Monday, October 21, 2019 Approved
Terraform 0.12.11 249 Monday, October 21, 2019 Approved
Terraform 0.12.10 2990 Thursday, October 10, 2019 Approved
Terraform 0.12.9 9173 Wednesday, September 18, 2019 Approved
Terraform 0.12.8 3743 Friday, September 6, 2019 Approved
Terraform 0.12.7 4778 Friday, August 23, 2019 Approved
Terraform 0.12.6 4972 Friday, August 2, 2019 Approved
Terraform 0.12.5 3462 Friday, July 19, 2019 Approved
Terraform 0.12.4 1250 Monday, July 15, 2019 Approved
Terraform 0.12.3 3927 Tuesday, June 25, 2019 Approved
Terraform 0.12.2 2473 Thursday, June 13, 2019 Approved
Terraform 0.12.1 2014 Wednesday, June 5, 2019 Approved
Terraform 0.12.0 3488 Wednesday, May 22, 2019 Approved
Terraform 0.12.0-beta1 355 Tuesday, April 2, 2019 Approved
Terraform 0.12.0-alpha4 492 Friday, December 28, 2018 Approved
Terraform 0.12.0-alpha3 249 Friday, December 28, 2018 Approved
Terraform 0.12.0-alpha2 267 Friday, December 28, 2018 Approved
Terraform 0.12.0-alpha1 450 Tuesday, October 23, 2018 Approved
Terraform 0.11.15 4924 Tuesday, April 27, 2021 Approved
Terraform 0.11.14 27779 Wednesday, May 22, 2019 Approved
Terraform 0.11.13 15679 Tuesday, April 2, 2019 Approved
Terraform 0.11.12 260 Tuesday, April 2, 2019 Approved
Terraform 0.11.11 16120 Friday, December 28, 2018 Approved
Terraform 0.11.10 533 Friday, December 28, 2018 Approved
Terraform 0.11.9 7169 Tuesday, October 23, 2018 Approved
Terraform 0.11.8 24203 Thursday, August 30, 2018 Approved
Terraform 0.11.7 9086 Monday, April 16, 2018 Approved
Terraform 0.11.6 1016 Saturday, April 7, 2018 Approved
Terraform 0.11.5 1044 Wednesday, March 28, 2018 Approved
Terraform 0.11.4 762 Monday, April 16, 2018 Approved
Terraform 0.11.3 2862 Friday, February 16, 2018 Approved
Terraform 0.11.2 2023 Saturday, January 13, 2018 Approved
Terraform 0.11.1 1929 Thursday, December 7, 2017 Approved
Terraform 0.11.0 1463 Wednesday, November 22, 2017 Approved
Terraform 0.10.8 1921 Tuesday, October 31, 2017 Approved
Terraform 0.10.7 1393 Tuesday, October 3, 2017 Approved
Terraform 0.10.6 1554 Wednesday, September 20, 2017 Approved
Terraform 0.10.5 398 Wednesday, September 20, 2017 Approved
Terraform 0.10.4 400 Wednesday, September 20, 2017 Approved
Terraform 0.10.3 1173 Friday, September 1, 2017 Approved
Terraform 0.10.2 701 Thursday, August 24, 2017 Approved
Terraform 0.10.1 399 Thursday, August 24, 2017 Approved
Terraform 0.10.0 1069 Thursday, August 3, 2017 Approved
Terraform 0.10.0-rc1 465 Wednesday, August 2, 2017 Approved
Terraform 0.10.0-beta2 415 Wednesday, August 2, 2017 Approved
Terraform 0.10.0-beta1 441 Wednesday, July 5, 2017 Approved
Terraform 0.9.11 1767 Wednesday, July 5, 2017 Approved
Terraform 0.9.10 409 Wednesday, July 5, 2017 Approved
Terraform 0.9.9 394 Wednesday, July 5, 2017 Approved
Terraform 0.9.8 1301 Thursday, June 8, 2017 Approved
Terraform 0.9.7 421 Thursday, June 8, 2017 Approved
Terraform 0.9.6 743 Wednesday, May 31, 2017 Approved
Terraform 0.9.5 976 Friday, May 12, 2017 Approved
Terraform 0.9.4 743 Tuesday, May 2, 2017 Approved
Terraform 0.9.3 869 Thursday, April 13, 2017 Approved
Terraform 0.9.2 791 Monday, April 3, 2017 Approved
Terraform 0.9.1 954 Tuesday, March 21, 2017 Approved
Terraform 0.9.0 578 Thursday, March 16, 2017 Approved
Terraform 0.8.8 751 Monday, March 6, 2017 Approved
Terraform 0.8.7 823 Wednesday, February 22, 2017 Approved
Terraform 0.8.6 695 Wednesday, February 8, 2017 Approved
Terraform 0.8.5 624 Saturday, January 28, 2017 Approved
Terraform 0.8.4 620 Monday, January 16, 2017 Approved
Terraform 0.8.2 601 Thursday, December 22, 2016 Approved
Terraform 0.8.1 431 Friday, December 16, 2016 Approved
Terraform 0.8.0 462 Wednesday, December 14, 2016 Approved
Terraform 0.7.13 581 Wednesday, November 30, 2016 Approved
Terraform 0.7.12 410 Wednesday, November 30, 2016 Approved
Terraform 0.7.11 496 Tuesday, November 22, 2016 Approved
Terraform 0.7.10 354 Tuesday, November 22, 2016 Approved
Terraform 0.7.9 395 Tuesday, November 22, 2016 Approved
Terraform 0.7.8 561 Friday, November 4, 2016 Approved
Terraform 0.7.7 507 Sunday, October 23, 2016 Approved
Terraform 0.7.6 507 Sunday, October 16, 2016 Approved
Terraform 0.7.5 440 Sunday, October 16, 2016 Approved
Terraform 0.7.4 693 Thursday, September 22, 2016 Approved
Terraform 0.7.3 466 Thursday, September 22, 2016 Approved
Terraform 0.7.2 615 Tuesday, August 30, 2016 Approved
Terraform 0.7.1 451 Thursday, August 25, 2016 Approved
Terraform 0.7.0 565 Tuesday, August 2, 2016 Approved
Terraform 0.6.16 441 Tuesday, May 17, 2016 Approved
Terraform 0.6.15 447 Wednesday, April 27, 2016 Approved
Terraform 0.6.14 512 Tuesday, March 22, 2016 Approved
Terraform 0.6.13 388 Tuesday, March 22, 2016 Approved
Terraform 0.6.12 507 Monday, February 29, 2016 Approved
Terraform 0.6.11 436 Tuesday, February 2, 2016 Approved
Terraform 0.6.10 400 Tuesday, February 2, 2016 Approved
Terraform 0.6.9 458 Sunday, January 10, 2016 Approved
Terraform 0.6.8 441 Tuesday, December 8, 2015 Approved
Terraform 0.6.7 387 Tuesday, December 8, 2015 Approved
Terraform 0.6.6 423 Thursday, October 29, 2015 Approved
Terraform 0.6.5 411 Thursday, October 29, 2015 Approved
Terraform 0.6.4 416 Thursday, October 29, 2015 Approved
Terraform 0.6.3 373 Wednesday, August 12, 2015 Approved
Terraform 0.6.2 430 Wednesday, August 12, 2015 Approved
Terraform 0.6.1 410 Wednesday, August 12, 2015 Approved
Terraform 0.6.0 424 Thursday, July 9, 2015 Approved
Terraform 0.5.3 623 Wednesday, June 3, 2015 Approved
Terraform 0.5.2 410 Wednesday, June 3, 2015 Approved
Terraform 0.5.0 444 Wednesday, June 3, 2015 Approved
Terraform 0.4.0 444 Thursday, April 9, 2015 Approved
Terraform 0.3.6 491 Thursday, April 2, 2015 Approved

1.1.0 (December 08, 2021)

Terraform v1.1.0 is a new minor release, containing some new features and some bug fixes whose scope was too large for inclusion in a patch release.

NEW FEATURES:

  • moved blocks for refactoring within modules: Module authors can now record in module source code whenever they've changed the address of a resource or resource instance, and then during planning Terraform will automatically migrate existing objects in the state to new addresses.

    This therefore avoids the need for users of a shared module to manually run terraform state mv after upgrading to a version of the module, as long as the change is expressible as static configuration. However, terraform state mv will remain available for use in more complex migration situations that are not well-suited to declarative configuration.

  • A new cloud block in the terraform settings block introduces a native Terraform Cloud integration for the CLI-driven run workflow.

    The Cloud integration includes several enhancements, including per-run variable support using the -var flag, the ability to map Terraform Cloud workspaces to the current configuration via Workspace Tags, and an improved user experience for Terraform Cloud and Enterprise users with actionable error messages and prompts.

  • terraform plan and terraform apply both now include additional annotations for resource instances planned for deletion to explain why Terraform has proposed that action.

    For example, if you change the count argument for a resource to a lower number then Terraform will now mention that as part of proposing to destroy any existing objects that exceed the new count.

UPGRADE NOTES:

This release is covered by the Terraform v1.0 Compatibility Promises, but does include some changes permitted within those promises as described below.

  • Terraform on macOS now requires macOS 10.13 High Sierra or later; Older macOS versions are no longer supported.

  • The terraform graph command no longer supports -type=validate and -type=eval options. The validate graph is always the same as the plan graph anyway, and the "eval" graph was just an implementation detail of the terraform console command. The default behavior of creating a plan graph should be a reasonable replacement for both of the removed graph modes. (Please note that terraform graph is not covered by the Terraform v1.0 compatibility promises, because its behavior inherently exposes Terraform Core implementation details, so we recommend it only for interactive debugging tasks and not for use in automation.)

  • terraform apply with a previously-saved plan file will now verify that the provider plugin packages used to create the plan fully match the ones used during apply, using the same checksum scheme that Terraform normally uses for the dependency lock file. Previously Terraform was checking consistency of plugins from a plan file using a legacy mechanism which covered only the main plugin executable, not any other files that might be distributed alongside in the plugin package.

    This additional check should not affect typical plugins that conform to the expectation that a plugin package's contents are immutable once released, but may affect a hypothetical in-house plugin that intentionally modifies extra files in its package directory somehow between plan and apply. If you have such a plugin, you'll need to change its approach to store those files in some other location separate from the package directory. This is a minor compatibility break motivated by increasing the assurance that plugins have not been inadvertently or maliciously modified between plan and apply.

  • terraform state mv will now error when legacy -backup or -backup-out options are used without the -state option on non-local backends. These options operate on a local state file only. Previously, these options were accepted but ignored silently when used with non-local backends.

  • In the AzureRM backend, the new opt-in option use_microsoft_graph switches to using MSAL authentication tokens and Microsoft Graph rather than using ADAL tokens and Azure Active Directory Graph, which is now deprecated by Microsoft. The new mode will become the default in Terraform v1.2, so please plan to migrate to using this setting and test with your own Azure AD tenant prior to the Terraform v1.2 release.

ENHANCEMENTS:

  • config: Terraform now checks the syntax of and normalizes module source addresses (the source argument in module blocks) during configuration decoding rather than only at module installation time. This is largely just an internal refactoring, but a visible benefit of this change is that the terraform init messages about module downloading will now show the canonical module package address Terraform is downloading from, after interpreting the special shorthands for common cases like GitHub URLs. (#28854)
  • config: Variables can now be declared as "nullable", which defines whether a variable can be null within a module. Setting nullable = false ensures that a variable value will never be null, and may instead take on the variable's default value if the caller sets it explicitly to null. (#29832)
  • terraform plan and terraform apply: When Terraform plans to destroy a resource instance due to it no longer being declared in the configuration, the proposed plan output will now include a note hinting at what situation prompted that proposal, so you can more easily see what configuration change might avoid the object being destroyed. (#29637)
  • terraform plan and terraform apply: Terraform will now report explicitly in the UI if it automatically moves a resource instance to a new address as a result of adding or removing the count argument from an existing resource. For example, if you previously had resource "aws_subnet" "example" without count, you might have aws_subnet.example already bound to a remote object in your state. If you add count = 1 to that resource then Terraform would previously silently rebind the object to aws_subnet.example[0] as part of planning, whereas now Terraform will mention that it did so explicitly in the plan description. (#29605)
  • terraform workspace delete: will now allow deleting a workspace whose state contains only data resource instances and output values, without running terraform destroy first. Previously the presence of data resources would require using -force to override the safety check guarding against accidentally forgetting about remote objects, but a data resource is not responsible for the management of its associated remote object(s) and so there's no reason to require explicit deletion. (#29754)
  • terraform validate: Terraform now uses precise type information for resources during config validation, allowing more problems to be caught that that step rather than only during the planning step. (#29862)
  • provisioner/remote-exec and provisioner/file: When using SSH agent authentication mode on Windows, Terraform can now detect and use the Windows 10 built-in OpenSSH Client's SSH Agent, when available, in addition to the existing support for the third-party solution Pageant that was already supported. (#29747)
  • cli: terraform state mv will now return an error for -backup or -backup-out options used without the -state option, unless the working directory is initialized to use the local backend. Previously Terraform would silently ignore those options, since they are applicable only to the local backend. (#27908)
  • terraform console: now has a new type() function, available only in the interactive console, for inspecting the exact type of a particular value as an aid to debugging. (#28501)

BUG FIXES:

  • config: ignore_changes = all now works in override files. (#29849)
  • config: Upgrading an unknown single value to a list using a splat expression now correctly returns an unknown value and type. Previously it would sometimes "overpromise" a particular return type, leading to an inconsistency error during the apply step. (#30062)
  • config: Terraform is now more precise in its detection of data resources that must be deferred to the apply step due to their depends_on arguments referring to not-yet-converged managed resources. (#29682)
  • config: ignore_changes can no longer cause a null map to be converted to an empty map, which would otherwise potentially cause surprising side-effects in provider logic. (#29928)
  • core: Provider configuration obtained from interactive prompts will now be merged properly with settings given in the configuration. Previously this merging was incorrect in some cases. (#29000)
  • terraform plan: Improved rendering of changes inside attributes that accept lists, sets, or maps of nested object types. (#29827, #29983, #29986)
  • terraform apply: Will no longer try to apply a stale plan that was generated against an originally-empty state. Previously this was an unintended exception to the rule that a plan can only be applied to the state snapshot it was generated against. (#29755)
  • terraform show -json: Attributes that are declared as using the legacy Attributes as Blocks behavior are now represented more faithfully in the JSON plan output. (#29522)
  • terraform init: Will now update the backend configuration hash value at a more approprimate time, to ensure properly restarting a backend migration process that failed on the first attempt. (#29860)
  • backend/oss: Flatten assume_role block arguments, so that they are more compatible with the terraform_remote_state data source. (#29307)

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