Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

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

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
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
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand

Downloads:

1,010,167

Downloads of v 0.14.0:

2,697

Last Update:

08 Dec 2020

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

0.14.0 | Updated: 08 Dec 2020

Downloads:

1,010,167

Downloads of v 0.14.0:

2,697

Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

Terraform 0.14.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="'0.14.0'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade terraform -y --source="'INTERNAL REPO URL'" --version="'0.14.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: '0.14.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  '0.14.0'
end

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


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

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


package { 'terraform':
  ensure   => '0.14.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 2020.

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/0.14.0/terraform_0.14.0_windows_386.zip'
$url64 = 'https://releases.hashicorp.com/terraform/0.14.0/terraform_0.14.0_windows_amd64.zip'
$checksum = '464240a880b2338b1500b144b6b75eba21b1e63e0a22769e20a42d0752bc7e66'
$checksum64 = '1364434d84981681a1d2f4f7d2d313f2abf23a971b9acd02630dd401000214f2'

$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.3.6 18226 Wednesday, December 14, 2022 Approved
Terraform 1.3.5 19214 Friday, November 18, 2022 Approved
Terraform 1.3.4 10074 Monday, November 7, 2022 Approved
Terraform 1.3.3 8282 Friday, October 28, 2022 Approved
Terraform 1.3.2 16549 Monday, October 10, 2022 Approved
Terraform 1.3.1 9381 Thursday, September 29, 2022 Approved
Terraform 1.3.0 7741 Thursday, September 22, 2022 Approved
Terraform 1.2.9 1920 Wednesday, September 21, 2022 Approved
Terraform 1.2.8 19838 Friday, August 26, 2022 Approved
Terraform 1.2.7 1578 Thursday, August 11, 2022 Approved
Terraform 1.2.6 14746 Monday, August 1, 2022 Approved
Terraform 1.2.5 5937 Friday, July 22, 2022 Approved
Terraform 1.2.4 10266 Tuesday, July 5, 2022 Approved
Terraform 1.2.3 13410 Wednesday, June 15, 2022 Approved
Terraform 1.2.2 13530 Wednesday, June 1, 2022 Approved
Terraform 1.2.1 7062 Tuesday, May 24, 2022 Approved
Terraform 1.2.0 4065 Thursday, May 19, 2022 Approved
Terraform 1.1.9 16684 Wednesday, April 20, 2022 Approved
Terraform 1.1.8 7779 Thursday, April 7, 2022 Approved
Terraform 1.1.7 19317 Sunday, March 6, 2022 Approved
Terraform 1.1.6 10676 Saturday, February 19, 2022 Approved
Terraform 1.1.5 10693 Friday, February 4, 2022 Approved
Terraform 1.1.4 10890 Saturday, January 22, 2022 Approved
Terraform 1.1.3 8939 Monday, January 10, 2022 Approved
Terraform 1.1.2 9107 Saturday, December 18, 2021 Approved
Terraform 1.1.1 132 Saturday, December 18, 2021 Approved
Terraform 1.1.0 6867 Wednesday, December 8, 2021 Approved
Terraform 1.0.11 19773 Saturday, November 13, 2021 Approved
Terraform 1.0.10 3622 Tuesday, November 9, 2021 Approved
Terraform 1.0.9 13331 Tuesday, October 19, 2021 Approved
Terraform 1.0.8 11332 Wednesday, September 29, 2021 Approved
Terraform 1.0.7 8530 Thursday, September 16, 2021 Approved
Terraform 1.0.6 5475 Wednesday, September 8, 2021 Approved
Terraform 1.0.5 652 Monday, August 23, 2021 Approved
Terraform 1.0.4 16509 Sunday, August 8, 2021 Approved
Terraform 1.0.3 6064 Thursday, July 29, 2021 Approved
Terraform 1.0.2 14555 Saturday, July 10, 2021 Approved
Terraform 1.0.1 12151 Monday, June 28, 2021 Approved
Terraform 1.0.0 10773 Tuesday, June 8, 2021 Approved
Terraform 0.15.5 1177 Tuesday, June 8, 2021 Approved
Terraform 0.15.4 3401 Monday, May 31, 2021 Approved
Terraform 0.15.3 12244 Friday, May 7, 2021 Approved
Terraform 0.15.2 14868 Friday, May 7, 2021 Approved
Terraform 0.15.1 4440 Tuesday, April 27, 2021 Approved
Terraform 0.15.0 5629 Wednesday, April 14, 2021 Approved
Terraform 0.14.11 4895 Tuesday, April 27, 2021 Approved
Terraform 0.14.10 10859 Wednesday, April 14, 2021 Approved
Terraform 0.14.9 5477 Tuesday, March 30, 2021 Approved
Terraform 0.14.8 10795 Monday, March 15, 2021 Approved
Terraform 0.14.7 10640 Thursday, February 18, 2021 Approved
Terraform 0.14.6 4565 Wednesday, February 10, 2021 Approved
Terraform 0.14.5 5984 Wednesday, January 27, 2021 Approved
Terraform 0.14.4 10637 Sunday, January 10, 2021 Approved
Terraform 0.14.3 5183 Sunday, December 20, 2020 Approved
Terraform 0.14.2 5526 Wednesday, December 9, 2020 Approved
Terraform 0.14.1 167 Wednesday, December 9, 2020 Approved
Terraform 0.14.0 2697 Tuesday, December 8, 2020 Approved
Terraform 0.13.7 9921 Tuesday, April 27, 2021 Approved
Terraform 0.13.6 1707 Sunday, January 10, 2021 Approved
Terraform 0.13.5 55106 Thursday, November 5, 2020 Approved
Terraform 0.13.4 10747 Wednesday, October 7, 2020 Approved
Terraform 0.13.3 9303 Friday, September 18, 2020 Approved
Terraform 0.13.2 15120 Wednesday, September 2, 2020 Approved
Terraform 0.13.1 431 Wednesday, September 2, 2020 Approved
Terraform 0.13.0 8888 Tuesday, August 11, 2020 Approved
Terraform 0.13.0-rc1 129 Monday, August 10, 2020 Approved
Terraform 0.13.0-beta3 396 Monday, July 13, 2020 Approved
Terraform 0.13.0-beta2 232 Thursday, June 25, 2020 Exempted
Terraform 0.13.0-beta1 299 Saturday, June 6, 2020 Exempted
Terraform 0.12.31 10793 Tuesday, April 27, 2021 Approved
Terraform 0.12.30 725 Sunday, January 10, 2021 Approved
Terraform 0.12.29 24227 Monday, August 10, 2020 Approved
Terraform 0.12.28 17221 Friday, June 26, 2020 Approved
Terraform 0.12.27 883 Thursday, June 25, 2020 Approved
Terraform 0.12.26 10827 Monday, June 1, 2020 Approved
Terraform 0.12.25 5884 Saturday, May 23, 2020 Approved
Terraform 0.12.24 22774 Tuesday, March 24, 2020 Approved
Terraform 0.12.23 1967 Wednesday, March 18, 2020 Approved
Terraform 0.12.21 11661 Friday, February 21, 2020 Approved
Terraform 0.12.20 11433 Friday, January 24, 2020 Approved
Terraform 0.12.19 6424 Friday, January 10, 2020 Approved
Terraform 0.12.18 10495 Friday, December 13, 2019 Approved
Terraform 0.12.17 4883 Tuesday, December 3, 2019 Approved
Terraform 0.12.16 3701 Tuesday, November 26, 2019 Approved
Terraform 0.12.15 214 Tuesday, November 26, 2019 Approved
Terraform 0.12.14 509 Tuesday, November 26, 2019 Approved
Terraform 0.12.13 9107 Monday, November 4, 2019 Approved
Terraform 0.12.12 6904 Monday, October 21, 2019 Approved
Terraform 0.12.11 215 Monday, October 21, 2019 Approved
Terraform 0.12.10 2938 Thursday, October 10, 2019 Approved
Terraform 0.12.9 9118 Wednesday, September 18, 2019 Approved
Terraform 0.12.8 3687 Friday, September 6, 2019 Approved
Terraform 0.12.7 4741 Friday, August 23, 2019 Approved
Terraform 0.12.6 4905 Friday, August 2, 2019 Approved
Terraform 0.12.5 3392 Friday, July 19, 2019 Approved
Terraform 0.12.4 1199 Monday, July 15, 2019 Approved
Terraform 0.12.3 3871 Tuesday, June 25, 2019 Approved
Terraform 0.12.2 2425 Thursday, June 13, 2019 Approved
Terraform 0.12.1 1974 Wednesday, June 5, 2019 Approved
Terraform 0.12.0 3357 Wednesday, May 22, 2019 Approved
Terraform 0.12.0-beta1 318 Tuesday, April 2, 2019 Approved
Terraform 0.12.0-alpha4 455 Friday, December 28, 2018 Approved
Terraform 0.12.0-alpha3 216 Friday, December 28, 2018 Approved
Terraform 0.12.0-alpha2 234 Friday, December 28, 2018 Approved
Terraform 0.12.0-alpha1 412 Tuesday, October 23, 2018 Approved
Terraform 0.11.15 3624 Tuesday, April 27, 2021 Approved
Terraform 0.11.14 27628 Wednesday, May 22, 2019 Approved
Terraform 0.11.13 15543 Tuesday, April 2, 2019 Approved
Terraform 0.11.12 229 Tuesday, April 2, 2019 Approved
Terraform 0.11.11 16060 Friday, December 28, 2018 Approved
Terraform 0.11.10 493 Friday, December 28, 2018 Approved
Terraform 0.11.9 7125 Tuesday, October 23, 2018 Approved
Terraform 0.11.8 23983 Thursday, August 30, 2018 Approved
Terraform 0.11.7 9015 Monday, April 16, 2018 Approved
Terraform 0.11.6 977 Saturday, April 7, 2018 Approved
Terraform 0.11.5 993 Wednesday, March 28, 2018 Approved
Terraform 0.11.4 708 Monday, April 16, 2018 Approved
Terraform 0.11.3 2819 Friday, February 16, 2018 Approved
Terraform 0.11.2 1978 Saturday, January 13, 2018 Approved
Terraform 0.11.1 1882 Thursday, December 7, 2017 Approved
Terraform 0.11.0 1394 Wednesday, November 22, 2017 Approved
Terraform 0.10.8 1883 Tuesday, October 31, 2017 Approved
Terraform 0.10.7 1353 Tuesday, October 3, 2017 Approved
Terraform 0.10.6 1517 Wednesday, September 20, 2017 Approved
Terraform 0.10.5 360 Wednesday, September 20, 2017 Approved
Terraform 0.10.4 366 Wednesday, September 20, 2017 Approved
Terraform 0.10.3 1138 Friday, September 1, 2017 Approved
Terraform 0.10.2 669 Thursday, August 24, 2017 Approved
Terraform 0.10.1 357 Thursday, August 24, 2017 Approved
Terraform 0.10.0 1030 Thursday, August 3, 2017 Approved
Terraform 0.10.0-rc1 428 Wednesday, August 2, 2017 Approved
Terraform 0.10.0-beta2 379 Wednesday, August 2, 2017 Approved
Terraform 0.10.0-beta1 402 Wednesday, July 5, 2017 Approved
Terraform 0.9.11 1722 Wednesday, July 5, 2017 Approved
Terraform 0.9.10 367 Wednesday, July 5, 2017 Approved
Terraform 0.9.9 356 Wednesday, July 5, 2017 Approved
Terraform 0.9.8 1262 Thursday, June 8, 2017 Approved
Terraform 0.9.7 386 Thursday, June 8, 2017 Approved
Terraform 0.9.6 707 Wednesday, May 31, 2017 Approved
Terraform 0.9.5 938 Friday, May 12, 2017 Approved
Terraform 0.9.4 701 Tuesday, May 2, 2017 Approved
Terraform 0.9.3 826 Thursday, April 13, 2017 Approved
Terraform 0.9.2 757 Monday, April 3, 2017 Approved
Terraform 0.9.1 920 Tuesday, March 21, 2017 Approved
Terraform 0.9.0 533 Thursday, March 16, 2017 Approved
Terraform 0.8.8 712 Monday, March 6, 2017 Approved
Terraform 0.8.7 794 Wednesday, February 22, 2017 Approved
Terraform 0.8.6 660 Wednesday, February 8, 2017 Approved
Terraform 0.8.5 582 Saturday, January 28, 2017 Approved
Terraform 0.8.4 581 Monday, January 16, 2017 Approved
Terraform 0.8.2 555 Thursday, December 22, 2016 Approved
Terraform 0.8.1 394 Friday, December 16, 2016 Approved
Terraform 0.8.0 433 Wednesday, December 14, 2016 Approved
Terraform 0.7.13 542 Wednesday, November 30, 2016 Approved
Terraform 0.7.12 374 Wednesday, November 30, 2016 Approved
Terraform 0.7.11 458 Tuesday, November 22, 2016 Approved
Terraform 0.7.10 316 Tuesday, November 22, 2016 Approved
Terraform 0.7.9 355 Tuesday, November 22, 2016 Approved
Terraform 0.7.8 526 Friday, November 4, 2016 Approved
Terraform 0.7.7 470 Sunday, October 23, 2016 Approved
Terraform 0.7.6 475 Sunday, October 16, 2016 Approved
Terraform 0.7.5 407 Sunday, October 16, 2016 Approved
Terraform 0.7.4 653 Thursday, September 22, 2016 Approved
Terraform 0.7.3 428 Thursday, September 22, 2016 Approved
Terraform 0.7.2 575 Tuesday, August 30, 2016 Approved
Terraform 0.7.1 417 Thursday, August 25, 2016 Approved
Terraform 0.7.0 526 Tuesday, August 2, 2016 Approved
Terraform 0.6.16 406 Tuesday, May 17, 2016 Approved
Terraform 0.6.15 408 Wednesday, April 27, 2016 Approved
Terraform 0.6.14 477 Tuesday, March 22, 2016 Approved
Terraform 0.6.13 361 Tuesday, March 22, 2016 Approved
Terraform 0.6.12 471 Monday, February 29, 2016 Approved
Terraform 0.6.11 405 Tuesday, February 2, 2016 Approved
Terraform 0.6.10 361 Tuesday, February 2, 2016 Approved
Terraform 0.6.9 417 Sunday, January 10, 2016 Approved
Terraform 0.6.8 401 Tuesday, December 8, 2015 Approved
Terraform 0.6.7 351 Tuesday, December 8, 2015 Approved
Terraform 0.6.6 392 Thursday, October 29, 2015 Approved
Terraform 0.6.5 375 Thursday, October 29, 2015 Approved
Terraform 0.6.4 386 Thursday, October 29, 2015 Approved
Terraform 0.6.3 335 Wednesday, August 12, 2015 Approved
Terraform 0.6.2 390 Wednesday, August 12, 2015 Approved
Terraform 0.6.1 370 Wednesday, August 12, 2015 Approved
Terraform 0.6.0 389 Thursday, July 9, 2015 Approved
Terraform 0.5.3 587 Wednesday, June 3, 2015 Approved
Terraform 0.5.2 369 Wednesday, June 3, 2015 Approved
Terraform 0.5.0 409 Wednesday, June 3, 2015 Approved
Terraform 0.4.0 407 Thursday, April 9, 2015 Approved
Terraform 0.3.6 459 Thursday, April 2, 2015 Approved

0.14.0 (December 02, 2020)

NEW FEATURES:

  • Terraform now supports marking input variables as sensitive, and will propagate that sensitivity through expressions that derive from sensitive input variables.

  • terraform init will now generate a lock file in the configuration directory which you can check in to your version control so that Terraform can make the same version selections in future. (#26524)

    If you wish to retain the previous behavior of always taking the newest version allowed by the version constraints on each install, you can run terraform init -upgrade to see that behavior.

  • Terraform will now support reading and writing all compatible state files, even from future versions of Terraform. This means that users of Terraform 0.14.0 will be able to share state files with future Terraform versions until a new state file format version is needed. We have no plans to change the state file format at this time. (#26752)

UPGRADE NOTES:

  • Outputs that reference sensitive values (which includes variables marked as sensitive, other module outputs marked as sensitive, or attributes a provider defines as sensitive if the provider_sensitive_attrs experiment is activated) must also be defined as sensitive, or Terraform will error at plan.
  • The version argument inside provider configuration blocks has been documented as deprecated since Terraform 0.12. As of 0.14 it will now also generate an explicit deprecation warning. To avoid the warning, use provider requirements declarations instead. (#26135)
  • The official MacOS builds of Terraform now require MacOS 10.12 Sierra or later. (#26357)
  • TLS certificate verification for outbound HTTPS requests from Terraform CLI no longer treats the certificate's "common name" as a valid hostname when the certificate lacks any "subject alternative name" entries for the hostname. TLS server certificates must list their hostnames as a "DNS name" in the subject alternative names field. (#26357)
  • Outbound HTTPS requests from Terraform CLI now enforce RFC 8446's client-side downgrade protection checks. This should not significantly affect normal operation, but may result in connection errors in environments where outgoing requests are forced through proxy servers and other "middleboxes", if they have behavior that resembles a downgrade attack. (#26357)
  • Terraform's HTTP client code is now slightly stricter than before in HTTP header parsing, but in ways that should not affect typical server implementations: Terraform now trims only ASCII whitespace characters, and does not allow Transfer-Encoding: identity. (#26357)
  • The terraform 0.13upgrade subcommand and the associated upgrade mechanisms are no longer available. Complete the v0.13 upgrade process before upgrading to Terraform v0.14.
  • The debug command, which did not offer additional functionality, has been removed.

ENHANCEMENTS:

  • config: Added sensitive argument for variable blocks, which supresses output where that variable is used (#26183)
  • config: Added alltrue and anytrue functions, which serve as a sort of dynamic version of the && and || or operators, respectively. These are intended to allow evaluating boolean conditions, such as in variable validation blocks, across all of the items in a collection using for expressions. (#25656], [#26498)
  • config: New functions textencodebase64 and textdecodebase64 for encoding text in various character encodings other than UTF-8. (#25470)
  • terraform plan and terraform apply: Added an experimental concise diff renderer. By default, Terraform plans now hide most unchanged fields, only displaying the most relevant changes and some identifying context. This experiment can be disabled by setting a TF_X_CONCISE_DIFF environment variable to 0. (#26187)
  • config: ignore_changes can now apply to map keys that are not listed in the configuration (#26421)
  • terraform console: Now has distinct rendering of lists, sets, and tuples, and correctly renders objects with null attribute values. Multi-line strings are rendered using the "heredoc" syntax. (#26189, #27054)
  • terraform login: Added support for OAuth2 application scopes. (#26239)
  • terraform fmt: Will now do some slightly more opinionated normalization behaviors, using the documented idiomatic syntax. (#26390)
  • terraform init's provider installation step will now abort promptly if Terraform receives an interrupt signal. (#26405)
  • cli: A new global command line option -chdir=..., placed before the selected subcommand, instructs Terraform to switch to a different working directory before executing the subcommand. This is similar to switching to a new directory with cd before running Terraform, but it avoids changing the state of the calling shell. (#26087)
  • cli: help text is been reorganized to emphasize the main commands and improve consistency (#26695)
  • cli: Ensure that provider requirements are met by the locked dependencies for every command. This will help catch errors if the configuration has changed since the last run of terraform init. (#26761)
  • core: When sensitive values are used as part of provisioner configuration, logging is disabled to ensure the values are not displayed to the UI (#26611)
  • core: terraform plan no longer uses a separate refresh phase. Instead, all resources are updated on-demand during planning (#26270)
  • modules: Adds support for loading modules with S3 virtual hosted-style access (#26914)
  • backend/consul: Split state into chunks when outgrowing the limit of the Consul KV store. This allows storing state larger than the Consul 512KB limit. (#25856)
  • backend/consul: Add force-unlock support to the Consul backend (#25837)
  • backend/gcs: Add service account impersonation to GCS backend (#26837)
  • On Unix-based operating systems other than MacOS, the SSL_CERT_DIR environment variable can now be a colon-separated list of multiple certificate search paths. (#26357)
  • On MacOS, Terraform will now use the Security.framework API to access the system trust roots, for improved consistency with other MacOS software. (#26357)

BUG FIXES:

  • config: Report an error when provider configuration attributes are incorrectly added to a required_providers object. (#26184)
  • config: Better errors for invalid terraform version constraints (#26543)
  • config: fix panic when element() is called with a negative offset (#26079)
  • config: lookup() will now only treat map as unknown if it is wholly unknown (#26427)
  • config: Fix provider detection for resources when local name does not match provider type (#26871)
  • terraform fmt: Fix incorrect heredoc syntax in plan diff output (#25725)
  • terraform show: Hide sensitive outputs from display (#26740)
  • terraform taint: If the configuration's required_version constraint is not met, the taint subcommand will now correctly exit early. (#26345)
  • terraform taint and terraform untaint: Fix issue when using taint (and untaint) with workspaces where statefile was not found. (#22467)
  • terraform init: Fix locksfile constraint output for versions like "1.2". (#26637)
  • terraform init: Omit duplicate version constraints when installing packages or writing locksfile. (#26678)
  • cli: return an error on a state unlock failure [#25729]
  • core: Prevent "Inconsistent Plan" errors when using dynamic with a block of TypeSet (#26638)
  • core: Errors with data sources reading old data during refresh, failing to refresh, and not appearing to wait on resource dependencies are fixed by updates to the data source lifecycle and the merging of refresh and plan (#26270)
  • core: Prevent evaluation of deposed instances, which in turn prevents errors when referencing create_before_destroy resources that have changes to their count or for_each values (#25631)
  • core: fix state push -force to work for all backends (#26190)
  • backend/consul: Fix bug which prevented state locking when path has trailing / (#25842)
  • backend/pg: Always have the default workspace in the pg backend (#26420)
  • backend/pg: Properly quote schema_name in the pg backend configuration (#26476)
  • build: Fix crash with terraform binary on OpenBSD. (#26249)
  • internal: Use default AWS credential handling when fetching modules (#26762)

EXPERIMENTS:

Experiments are Terraform language features that are not yet finalized but that we've included in a release so you can potentially try them out and share feedback. These features are only available if you explicitly enable the relevant experiment for your module. To share feedback on active experiments, please open an enhancement request issue in the main Terraform repository.

  • module_variable_optional_attrs: When declaring an input variable for a module whose type constraint (type argument) contains an object type constraint, the type expressions for the attributes can be annotated with the experimental optional(...) modifier.

    Marking an attribute as "optional" changes the type conversion behavior for that type constraint so that if the given value is a map or object that has no attribute of that name then Terraform will silently give that attribute the value null, rather than returning an error saying that it is required. The resulting value still conforms to the type constraint in that the attribute is considered to be present, but references to it in the recieving module will find a null value and can act on that accordingly.

    This experiment also includes a function named defaults which you can use in a local value to replace the null values representing optional attributes with non-null default values. The function also requires that you enable the module_variable_optional_attrs experiment for any module which calls it.

  • provider_sensitive_attrs: This is an unusual experiment in that it doesn't directly allow you to use a new feature in your module configuration but instead it changes the automatic behavior of Terraform in modules where it's enabled.

    For modules where this experiment is active, Terraform will consider the attribute sensitivity flags set in provider resource type schemas when propagating the "sensitive" flag through expressions in the configuration. This is experimental because it has the potential to make far more items in the output be marked as sensitive than before, and so we want to get some experience and feedback about it before hopefully making this the default behavior.

    One important consequence of enabling this experiment is that you may need to mark more of your module's output values as sensitive = true, in any case where a particular output value is derived from a value a provider has indicated as being sensitive. Without that explicit annotation, Terraform will return an error to avoid implicitly exposing a sensitive value via an output value.

If you try either of these features during their experimental periods and have feedback about them, please open a feature request issue. We are aiming to stabilize both features in the forthcoming v0.15 release, but their design may change in the meantime based on feedback. If we make further changes to the features during the v0.15 period then they will be reflected in v0.15 alpha releases.

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