Skip to content

Commit

Permalink
Update Terraform Chocolatey packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jamestoyer authored and github-actions[bot] committed Feb 20, 2025
1 parent 8861836 commit 5376be5
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 13 deletions.
2 changes: 1 addition & 1 deletion terraform/terraform.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"1.4": "1.4.7",
"1.9": "1.9.8",
"1.10": "1.10.5",
"1.11": "1.11.0-rc1",
"1.11": "1.11.0-rc2",
"1.12": "1.12.0-alpha20250213"
}
54 changes: 46 additions & 8 deletions terraform/terraform.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!-- Read this before publishing packages to chocolatey.org: https://github.com/chocolatey/chocolatey/wiki/CreatePackages -->
<id>terraform</id>
<title>Terraform</title>
<version>1.12.0-alpha20250213</version>
<version>1.11.0-rc2</version>
<authors>HashiCorp</authors>
<owners>James Toyer</owners>
<summary>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.</summary>
Expand All @@ -22,25 +22,63 @@ The key features of Terraform are:
For more information, see the [introduction section](http://www.terraform.io/intro) of the Terraform website.
</description>
<releaseNotes>
## 1.12.0-alpha20250213 (February 13, 2025)
## 1.11.0-rc2 (February 19, 2025)

EXPERIMENTS:

Experiments are only enabled in alpha releases of Terraform CLI. The following features are not yet available in stable releases.
NEW FEATURES:

* Add write-only attributes to resources. Providers can specify that certain attributes are write-only. They are not persisted in state. You can use ephemeral values in write-only attributes. ([#36031](https://github.com/hashicorp/terraform/issues/36031))

* `terraform test`: The `-junit-xml` option for the terraform test command is now generally available. This option allows the command to create a test report in JUnit XML format. Feedback during the experimental phase helped map terraform test concepts to the JUnit XML format, and new additons may happen in future releases. ([#36324](https://github.com/hashicorp/terraform/issues/36324))

* S3 native state locking is now generally available. The `use_lockfile` argument enables users to adopt the S3-native mechanism for state locking. As part of this change, we've deprecated the DynamoDB-related arguments in favor of this new locking mechanism. While you can still use DynamoDB alongside S3-native state locking for migration purposes, we encourage migrating to the new state locking mechanism. ([#36338](https://github.com/hashicorp/terraform/issues/36338))


ENHANCEMENTS:

* `init`: Provider installation will utilise credentials configured in a `.netrc` file for the download and shasum URLs returned by provider registries. ([#35843](https://github.com/hashicorp/terraform/issues/35843))

* `terraform test`: Test runs now support using mocked or overridden values during unit test runs (e.g., with command = "plan"). Set `override_during = plan` in the test configuration to use the overridden values during the plan phase. The default value is `override_during = apply`. ([#36227](https://github.com/hashicorp/terraform/issues/36227))

* `terraform test`: Add new `state_key` attribute for `run` blocks, allowing test authors control over which internal state file should be used for the current test run. ([#36185](https://github.com/hashicorp/terraform/issues/36185))

* Updates the azure backend authentication to match the terraform-provider-azurermprovider authentication, in several ways:
- github.com/hashicorp/go-azure-helpers: v0.43.0 -&gt; v0.71.0
- github.com/hashicorp/go-azure-sdk/[resource-manager/sdk]: v0.20241212.1154051. This replaces the deprecated Azure SDK used before
- github.com/jackofallops/giovanni: v0.15.1 -&gt; v0.27.0. Meanwhile, updating the azure storage API version from 2018-11-09 to 2023-11-03
- Following new properties are added for the azure backend configuration:
- use_cli
- use_aks_workload_identity
- client_id_file_path
- client_certificate
- client_id_file_path
- client_secret_file_path
([#36258](https://github.com/hashicorp/terraform/issues/36258))

* Include `ca-certificates` package in our official Docker image to help with certificate handling by downstream ([#36486](https://github.com/hashicorp/terraform/issues/36486))


BUG FIXES:

* ephemeral values: correct error message when ephemeral values are included in provisioner output ([#36427](https://github.com/hashicorp/terraform/issues/36427))

* Attempting to override a variable during `apply` via `TF_VAR_` environment variable will now yield warning instead of misleading error. ([#36435](https://github.com/hashicorp/terraform/issues/36435))

* backends: Fix crash when interrupting during interactive prompt for values ([#36448](https://github.com/hashicorp/terraform/issues/36448))

* Fixes hanging behavior seen when applying a saved plan with -auto-approve using the cloud backend ([#36453](https://github.com/hashicorp/terraform/issues/36453))

- The new command `terraform rpcapi` exposes some Terraform Core functionality through an RPC interface compatible with [`go-plugin`](https://github.com/hashicorp/go-plugin). The exact RPC API exposed here is currently subject to change at any time, because it's here primarily as a vehicle to support the [Terraform Stacks](https://www.hashicorp.com/blog/terraform-stacks-explained) private preview and so will be broken if necessary to respond to feedback from private preview participants, or possibly for other reasons. Do not use this mechanism yet outside of Terraform Stacks private preview.
- The experimental "deferred actions" feature, enabled by passing the `-allow-deferral` option to `terraform plan`, permits `count` and `for_each` arguments in `module`, `resource`, and `data` blocks to have unknown values and allows providers to react more flexibly to unknown values. This experiment is under active development, and so it's not yet useful to participate in this experiment

## Previous Releases
For more information on previous releases, check out the changelog on [GitHub](https://github.com/hashicorp/terraform/blob/v1.12.0-alpha20250213/CHANGELOG.md).</releaseNotes>
For more information on previous releases, check out the changelog on [GitHub](https://github.com/hashicorp/terraform/blob/v1.11.0-rc2/CHANGELOG.md).</releaseNotes>
<projectUrl>http://www.terraform.io</projectUrl>
<docsUrl>https://www.terraform.io/docs/index.html</docsUrl>
<bugTrackerUrl>https://github.com/hashicorp/terraform/issues</bugTrackerUrl>
<projectSourceUrl>https://github.com/hashicorp/terraform</projectSourceUrl>
<packageSourceUrl>https://github.com/jamestoyer/chocolatey-packages</packageSourceUrl>
<tags>terraform hashicorp</tags>
<copyright>HashiCorp 2015-2024</copyright>
<licenseUrl>https://github.com/hashicorp/terraform/blob/v1.12.0-alpha20250213/LICENSE</licenseUrl>
<licenseUrl>https://github.com/hashicorp/terraform/blob/v1.11.0-rc2/LICENSE</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<!-- Important note about https://cdn.rawgit.com: Files are cached permanently after the first request. Use commit URLs when updating the icon. -->
<iconUrl>https://raw.githubusercontent.com/jamestoyer/chocolatey-packages/58ab86c08224c2ba79af2080346c53c1cc440afc/terraform/icons/terraform.png</iconUrl>
Expand Down
8 changes: 4 additions & 4 deletions terraform/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
$ErrorActionPreference = 'Stop'

# DO NOT CHANGE THESE MANUALLY. USE update.ps1
$url = 'https://releases.hashicorp.com/terraform/1.12.0-alpha20250213/terraform_1.12.0-alpha20250213_windows_386.zip'
$url64 = 'https://releases.hashicorp.com/terraform/1.12.0-alpha20250213/terraform_1.12.0-alpha20250213_windows_amd64.zip'
$checksum = 'a42361284761c6d719c19052a7ba00e0ac31114b27904b0a5ad0fda0a0d6bceb'
$checksum64 = '944c364150d4e41bc5eed627ab76768da67871d0698fb892a92978e4ab7714fe'
$url = 'https://releases.hashicorp.com/terraform/1.11.0-rc2/terraform_1.11.0-rc2_windows_386.zip'
$url64 = 'https://releases.hashicorp.com/terraform/1.11.0-rc2/terraform_1.11.0-rc2_windows_amd64.zip'
$checksum = 'dea353add35d1393bd2ac3607ddca448ffe7d6ac840f7a5620d839f6013a92bb'
$checksum64 = '1f3fc9373d362726ecafbe5eadfd6d1083566b78e382b9b4add8e95f116aa120'

$unzipLocation = Split-Path -Parent $MyInvocation.MyCommand.Definition

Expand Down

0 comments on commit 5376be5

Please sign in to comment.