mirror of
https://github.com/hashicorp/terraform.git
synced 2026-02-03 20:50:59 -05:00
Prepare main branch for 1.14 development (cleanup) (#37312)
* Prepare main branch for 1.14 development (cleanup) * fix version-dependent tests * update PR template
This commit is contained in:
parent
0f7a690d25
commit
5437cd7c8a
34 changed files with 10 additions and 182 deletions
|
|
@ -1,3 +1,4 @@
|
|||
- [v1.13](https://github.com/hashicorp/terraform/blob/v1.13/CHANGELOG.md)
|
||||
- [v1.12](https://github.com/hashicorp/terraform/blob/v1.12/CHANGELOG.md)
|
||||
- [v1.11](https://github.com/hashicorp/terraform/blob/v1.11/CHANGELOG.md)
|
||||
- [v1.10](https://github.com/hashicorp/terraform/blob/v1.10/CHANGELOG.md)
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
kind: BUG FIXES
|
||||
body: 'write-only attributes: internal providers should set write-only attributes to null'
|
||||
time: 2025-04-02T14:39:31.672249+02:00
|
||||
custom:
|
||||
Issue: "36824"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: BUG FIXES
|
||||
body: Include resource identity in import apply UI output
|
||||
time: 2025-05-14T11:21:52.75746+02:00
|
||||
custom:
|
||||
Issue: "37044"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: BUG FIXES
|
||||
body: Fix regression during provider installation by reverting back to not sending HEAD requests.
|
||||
time: 2025-05-14T18:43:57.332193-04:00
|
||||
custom:
|
||||
Issue: "36998"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: BUG FIXES
|
||||
body: Avoid crash on test failure in comparison in function call
|
||||
time: 2025-05-16T11:42:51.289379+01:00
|
||||
custom:
|
||||
Issue: "37071"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: BUG FIXES
|
||||
body: partial ephemeral values were rejected in ephemeral outputs
|
||||
time: 2025-06-04T13:12:40.440242-04:00
|
||||
custom:
|
||||
Issue: "37210"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: ENHANCEMENTS
|
||||
body: 'backend/oss: Supports more standard environment variables to keep same with provider setting'
|
||||
time: 2025-03-03T17:18:38.679213+08:00
|
||||
custom:
|
||||
Issue: "36581"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: ENHANCEMENTS
|
||||
body: '`import` blocks: Now support importing a resource via a new identity attribute. This is mutually exclusive with the `id` attribute'
|
||||
time: 2025-04-17T18:20:36.814657+02:00
|
||||
custom:
|
||||
Issue: "36703"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: NEW FEATURES
|
||||
body: Added Terraform backend implementation for OCI Object Storage
|
||||
time: 2025-04-10T15:48:05.919664+05:30
|
||||
custom:
|
||||
Issue: "34465"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: BUG FIXES
|
||||
body: 'Added a missing warning diagnostic that alerts users when child module contains an ignored `cloud` block.'
|
||||
time: 2025-05-29T16:34:49.041168+01:00
|
||||
custom:
|
||||
Issue: "37180"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: BUG FIXES
|
||||
body: Nested module outputs could lose sensitivity, even when marked as such in the configuration
|
||||
time: 2025-06-04T14:40:21.12567-04:00
|
||||
custom:
|
||||
Issue: "37212"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: BUG FIXES
|
||||
body: 'workspace: Updated validation to reject workspaces named ""'
|
||||
time: 2025-06-23T12:55:14.226554+01:00
|
||||
custom:
|
||||
Issue: "37267"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: BUG FIXES
|
||||
body: 'workspace: Updated the `workspace delete` command to reject `""` as an invalid workspace name'
|
||||
time: 2025-06-26T14:02:48.899952+01:00
|
||||
custom:
|
||||
Issue: "37275"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: BUG FIXES
|
||||
body: 'plan: truncate invalid or dynamic references in the relevant attributes'
|
||||
time: 2025-07-04T17:02:21.289541+02:00
|
||||
custom:
|
||||
Issue: "37290"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: BUG FIXES
|
||||
body: Test run Parallelism of 1 should not result in deadlock
|
||||
time: 2025-07-04T18:22:48.934287+02:00
|
||||
custom:
|
||||
Issue: "37292"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: BUG FIXES
|
||||
body: 'static validation: detect invalid static references via indexes on objects.'
|
||||
time: 2025-07-07T16:14:50.162197+02:00
|
||||
custom:
|
||||
Issue: "37298"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: ENHANCEMENTS
|
||||
body: Filesystem functions are now checked for consistent results to catch invalid data during apply
|
||||
time: 2025-05-08T13:01:35.450576-04:00
|
||||
custom:
|
||||
Issue: "37001"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: ENHANCEMENTS
|
||||
body: Allow successful init when provider constraint matches at least one valid version
|
||||
time: 2025-05-20T15:51:48.961362+02:00
|
||||
custom:
|
||||
Issue: "37137"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: ENHANCEMENTS
|
||||
body: Performance fix for evaluating high cardinality resources
|
||||
time: 2025-05-22T09:31:02.761383-04:00
|
||||
custom:
|
||||
Issue: "26355"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: ENHANCEMENTS
|
||||
body: ' TF Test: Allow parallel execution of teardown operations'
|
||||
time: 2025-05-27T09:57:55.267277+02:00
|
||||
custom:
|
||||
Issue: "37169"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: ENHANCEMENTS
|
||||
body: '`terraform test`: Test authors can now specify definitions for external variables that are referenced within test files directly within the test file itself.'
|
||||
time: 2025-06-02T15:22:11.453413+02:00
|
||||
custom:
|
||||
Issue: "37195"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: ENHANCEMENTS
|
||||
body: '`terraform test`: File-level variable blocks can now reference run outputs and other variables."'
|
||||
time: 2025-06-04T10:29:32.311469+02:00
|
||||
custom:
|
||||
Issue: "37205"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: ENHANCEMENTS
|
||||
body: skip redundant comparisons when comparing planned set changes
|
||||
time: 2025-06-27T09:46:38.899237-04:00
|
||||
custom:
|
||||
Issue: "37280"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: ENHANCEMENTS
|
||||
body: 'type checking: improve error message on type mismatches.'
|
||||
time: 2025-07-07T16:11:13.755853+02:00
|
||||
custom:
|
||||
Issue: "37298"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: NEW FEATURES
|
||||
body: 'The new command `terraform stacks` exposes some stack operations through the cli. The available subcommands depend on the stacks plugin implementation. Use `terraform stacks -help` to see available commands.'
|
||||
time: 2025-05-13T13:29:53.189733-04:00
|
||||
custom:
|
||||
Issue: "36931"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: NOTES
|
||||
body: The command `terraform rpcapi` is now generally available. It is not intended for public consumption, but exposes certain Terraform operations through an RPC interface compatible with [go-plugin](https://github.com/hashicorp/go-plugin).
|
||||
time: 2025-05-15T15:19:22.219798+02:00
|
||||
custom:
|
||||
Issue: "37067"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
kind: UPGRADE NOTES
|
||||
body: '`terraform test`: External variables referenced within test files should now be accompanied by a `variable` definition block within the test file. This is optional, but users with complex external variables may see error diagnostics without the additional variable definition.'
|
||||
time: 2025-06-02T15:20:09.188388+02:00
|
||||
custom:
|
||||
Issue: "37195"
|
||||
0
.changes/v1.14/.gitkeep
Normal file
0
.changes/v1.14/.gitkeep
Normal file
|
|
@ -2,7 +2,7 @@
|
|||
# SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
changesDir: .changes
|
||||
unreleasedDir: v1.13
|
||||
unreleasedDir: v1.14
|
||||
versionFooterPath: version_footer.tpl.md
|
||||
changelogPath: CHANGELOG.md
|
||||
versionExt: md
|
||||
|
|
|
|||
2
.github/pull_request_template.md
vendored
2
.github/pull_request_template.md
vendored
|
|
@ -31,7 +31,7 @@ label to enable the backport bot.
|
|||
|
||||
-->
|
||||
|
||||
1.13.x
|
||||
1.14.x
|
||||
|
||||
<!-- heimdall_github_prtemplate:grc-pci_dss-2024-01-05 -->
|
||||
## Rollback Plan
|
||||
|
|
|
|||
48
CHANGELOG.md
48
CHANGELOG.md
|
|
@ -1,49 +1,4 @@
|
|||
## 1.13.0 (Unreleased)
|
||||
|
||||
|
||||
NEW FEATURES:
|
||||
|
||||
* The new command `terraform stacks` exposes some stack operations through the cli. The available subcommands depend on the stacks plugin implementation. Use `terraform stacks -help` to see available commands. ([#36931](https://github.com/hashicorp/terraform/issues/36931))
|
||||
|
||||
|
||||
ENHANCEMENTS:
|
||||
|
||||
* Filesystem functions are now checked for consistent results to catch invalid data during apply ([#37001](https://github.com/hashicorp/terraform/issues/37001))
|
||||
|
||||
* Allow successful init when provider constraint matches at least one valid version ([#37137](https://github.com/hashicorp/terraform/issues/37137))
|
||||
|
||||
* Performance fix for evaluating high cardinality resources ([#26355](https://github.com/hashicorp/terraform/issues/26355))
|
||||
|
||||
* TF Test: Allow parallel execution of teardown operations ([#37169](https://github.com/hashicorp/terraform/issues/37169))
|
||||
|
||||
* `terraform test`: Test authors can now specify definitions for external variables that are referenced within test files directly within the test file itself. ([#37195](https://github.com/hashicorp/terraform/issues/37195))
|
||||
|
||||
* `terraform test`: File-level variable blocks can now reference run outputs and other variables." ([#37205](https://github.com/hashicorp/terraform/issues/37205))
|
||||
|
||||
* skip redundant comparisons when comparing planned set changes ([#37280](https://github.com/hashicorp/terraform/issues/37280))
|
||||
|
||||
|
||||
BUG FIXES:
|
||||
|
||||
* Added a missing warning diagnostic that alerts users when child module contains an ignored `cloud` block. ([#37180](https://github.com/hashicorp/terraform/issues/37180))
|
||||
|
||||
* Nested module outputs could lose sensitivity, even when marked as such in the configuration ([#37212](https://github.com/hashicorp/terraform/issues/37212))
|
||||
|
||||
* workspace: Updated validation to reject workspaces named "" ([#37267](https://github.com/hashicorp/terraform/issues/37267))
|
||||
|
||||
* workspace: Updated the `workspace delete` command to reject `""` as an invalid workspace name ([#37275](https://github.com/hashicorp/terraform/issues/37275))
|
||||
|
||||
* Test run Parallelism of 1 should not result in deadlock ([#37292](https://github.com/hashicorp/terraform/issues/37292))
|
||||
|
||||
|
||||
NOTES:
|
||||
|
||||
* The command `terraform rpcapi` is now generally available. It is not intended for public consumption, but exposes certain Terraform operations through an RPC interface compatible with [go-plugin](https://github.com/hashicorp/go-plugin). ([#37067](https://github.com/hashicorp/terraform/issues/37067))
|
||||
|
||||
|
||||
UPGRADE NOTES:
|
||||
|
||||
* `terraform test`: External variables referenced within test files should now be accompanied by a `variable` definition block within the test file. This is optional, but users with complex external variables may see error diagnostics without the additional variable definition. ([#37195](https://github.com/hashicorp/terraform/issues/37195))
|
||||
## 1.14.0 (Unreleased)
|
||||
|
||||
|
||||
EXPERIMENTS:
|
||||
|
|
@ -56,6 +11,7 @@ Experiments are only enabled in alpha releases of Terraform CLI. The following f
|
|||
|
||||
For information on prior major and minor releases, refer to their changelogs:
|
||||
|
||||
- [v1.13](https://github.com/hashicorp/terraform/blob/v1.13/CHANGELOG.md)
|
||||
- [v1.12](https://github.com/hashicorp/terraform/blob/v1.12/CHANGELOG.md)
|
||||
- [v1.11](https://github.com/hashicorp/terraform/blob/v1.11/CHANGELOG.md)
|
||||
- [v1.10](https://github.com/hashicorp/terraform/blob/v1.10/CHANGELOG.md)
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ import (
|
|||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/hashicorp/terraform/version"
|
||||
)
|
||||
|
||||
func TestParseBackendStateFile(t *testing.T) {
|
||||
|
|
@ -152,7 +153,7 @@ func TestParseBackendStateFile(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestEncodeBackendStateFile(t *testing.T) {
|
||||
|
||||
tfVersion := version.Version
|
||||
tests := map[string]struct {
|
||||
Input *BackendStateFile
|
||||
Want []byte
|
||||
|
|
@ -167,11 +168,11 @@ func TestEncodeBackendStateFile(t *testing.T) {
|
|||
Hash: 123,
|
||||
},
|
||||
},
|
||||
Want: []byte("{\n \"version\": 3,\n \"terraform_version\": \"1.13.0\",\n \"state_store\": {\n \"type\": \"foobar_baz\",\n \"provider\": {\n \"version\": \"1.2.3\",\n \"source\": \"registry.terraform.io/my-org/foobar\",\n \"config\": {\n \"foo\": \"bar\"\n }\n },\n \"config\": {\n \"foo\": \"bar\"\n },\n \"hash\": 123\n }\n}"),
|
||||
Want: []byte("{\n \"version\": 3,\n \"terraform_version\": \"" + tfVersion + "\",\n \"state_store\": {\n \"type\": \"foobar_baz\",\n \"provider\": {\n \"version\": \"1.2.3\",\n \"source\": \"registry.terraform.io/my-org/foobar\",\n \"config\": {\n \"foo\": \"bar\"\n }\n },\n \"config\": {\n \"foo\": \"bar\"\n },\n \"hash\": 123\n }\n}"),
|
||||
},
|
||||
"it returns an error when neither backend nor state_store config state are present": {
|
||||
Input: &BackendStateFile{},
|
||||
Want: []byte("{\n \"version\": 3,\n \"terraform_version\": \"1.13.0\"\n}"),
|
||||
Want: []byte("{\n \"version\": 3,\n \"terraform_version\": \"" + tfVersion + "\"\n}"),
|
||||
},
|
||||
"it returns an error when the provider source's hostname is missing": {
|
||||
Input: &BackendStateFile{
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
1.13.0-dev
|
||||
1.14.0-dev
|
||||
|
|
|
|||
Loading…
Reference in a new issue