v1.14.0-beta2
Breaking Changes📦 terraform
⚠ 2 breaking✨ 6 features🐛 3 fixes🔧 7 symbols
Summary
Terraform 1.14-beta2 introduces infrastructure querying via .tfquery.hcl, a new 'Actions' block for imperative provider tasks, and upgrades the build environment to Go 1.25.
⚠️ Breaking Changes
- Building Terraform 1.14 now requires macOS Monterey or later due to the upgrade to Go 1.25.
- Parallelism within container runtimes may be automatically reduced based on CPU bandwidth limit settings.
Migration Steps
- Ensure build environments on macOS are running Monterey or later.
- Review container CPU bandwidth limits if you notice a reduction in operation parallelism.
✨ New Features
- List Resources: Define list resources in *.tfquery.hcl files to query and filter existing infrastructure.
- New 'terraform query' command: Executes list operations and can generate configuration for importing results.
- GenerateResourceConfiguration RPC: Allows providers to create precise configuration values during import.
- Top-level Actions block: Codifies imperative use cases (e.g., aws_lambda_invoke) outside the standard CRUD model, triggered via lifecycle or the -invoke CLI flag.
- Added -help flag support for the 'terraform stacks' command.
- Enhanced 'terraform test' to include expected diagnostics in verbose mode and ignore prevent_destroy during cleanup.
🐛 Bug Fixes
- Retrieve all workspace variables during 'terraform import', including those inherited from variable sets.
- Fixed OSS backend proxy support by adding a proxy layer for operations.
- Improved 'terraform console' and 'terraform test' to return explicit diagnostics when referencing resources not included in the most recent operation.
🔧 Affected Symbols
terraform queryterraform stacksterraform testterraform importGenerateResourceConfigurationActions*.tfquery.hcl