Terraform
Backend & InfraTerraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
Release History
View all versions →v1.17.0-alpha202608273 fixes6 featuresThis release introduces a new minimal refresh option for planning and enhances logging for provider versions during initialization. It also includes several bug fixes and experimental features for deferred actions and testing.
v1.16.011 fixes6 featuresTerraform 1.16.0 introduces new features for provider data storage, module import support, and enhanced resource action triggers. This release also includes numerous bug fixes and improvements to commands like `state show`, `terraform graph`, and `terraform console`.
v1.15.91 fixThis release fixes a bug in child module validation and updates the go-slug dependency to address a CVE related to file exclusion.
v1.16.0-rc211 fixes6 featuresThis release introduces new features for provider data storage, module import support, and enhanced resource action triggers. It also includes numerous bug fixes and improvements to command-line usability and policy evaluation.
v1.16.0-rc110 fixes6 featuresThis release introduces new features for provider data storage, module import support, and enhanced resource action triggers. It also includes several bug fixes and improvements to existing commands like `state show` and `terraform graph`.
v1.17.0-alpha202608122 fixes5 featuresThis release enhances logging with provider versions and fixes panics in `pow` and `log` functions. It also introduces several experimental features for deferred actions, test cleanup, backend configuration in tests, and policy evaluation in queries.
v1.16.0-beta210 fixes6 featuresThis release introduces new features for provider data storage, module import support, and enhanced resource action triggers. It also includes numerous bug fixes and improvements to existing commands like `state show` and `terraform graph`.
v1.17.0-alpha202607291 fix5 featuresThis alpha release enhances log messages with provider versions and fixes a panic in `pow` and `log` functions. It also introduces several experimental features for deferred actions, test cleanup, backend configurations in tests, and policy evaluation in queries.
v1.16.0-beta19 fixes6 featuresThis release introduces new features for provider data storage, module import support, and enhanced resource action triggers. It also includes several bug fixes and improvements to existing commands like `state show` and `terraform graph`.
v1.16.0-alpha202607159 fixes7 featuresThis release introduces several new features including enhanced data storage for providers, support for import blocks within modules, and improved machine-readable output for commands like `workspace list`. It also includes numerous bug fixes and enhancements to existing functionalities.
v1.15.81 fixThis patch fixes an error during provider installation when using service-discovery aliases and reverts some minor log message and event order changes introduced in v1.15.
v1.16.0-alpha202607089 fixes7 featuresThis alpha release introduces significant features like support for PlannedPrivate data, new store blocks, nested computed values for providers, and import blocks in modules. It also includes several bug fixes and enhancements to CLI output and provider initialization logic.
v1.16.0-alpha202607068 fixes7 featuresThis alpha release introduces significant features like support for nested computed values, import blocks in modules, and new failure modes for resource actions. It also includes several bug fixes related to import blocks, provider initialization, and state operations.
v1.16.0-alpha202607018 fixes7 featuresThis alpha release introduces significant new features like nested computed values for providers and support for import blocks in modules, alongside various bug fixes and enhancements to provider initialization and action triggering.
v1.16.0-alpha202606267 fixes7 featuresThis alpha release introduces significant new features like support for nested computed values, import blocks in modules, and new resource action failure modes. It also includes several bug fixes related to import blocks, state operations, and provider initialization logging.
v1.15.72 fixesThis patch release focuses on stability, introducing concurrency safety improvements to parsers and fixing an issue with submodule variable validation during initialization.
v1.16.0-alpha202606247 fixes7 featuresThis alpha release introduces significant features like support for PlannedPrivate data, new capabilities for import blocks, and builds for s390x. It also includes several bug fixes related to import blocks, state operations, and provider initialization.
v1.16.0-alpha202606177 fixes7 featuresThis alpha release introduces significant new features like support for PlannedPrivate data, the new `store` block in `terraform_data`, and import blocks within modules. It also includes several bug fixes related to import blocks, provider initialization, and resource actions.
v1.15.64 fixesThis patch release focuses on several bug fixes, including corrections for state representation, console panics, exit codes for command errors, and module installation edge cases.
v1.16.0-alpha202606036 fixes6 featuresThis alpha release introduces new features like storing PlannedPrivate data, support for import blocks in modules, and machine-readable output for `workspace list`. It also includes several bug fixes related to import blocks, apply panics, and provider initialization.
v1.15.51 fix1 featureThis patch release introduces support for module versions evaluating to null during dynamic source evaluation and resolves a crash during 'init' when modules have an empty source.
v1.15.41 fix1 featureThis release introduces builds for Linux s390x (zLinux) and fixes an issue related to provider binary installation in symlinked directories.
v1.16.0-alpha202605131 fix5 featuresThis alpha release introduces new features for provider data storage, enhanced terraform_data capabilities, and new build targets for s390x. It also includes a fix for import blocks ignoring provider local names.
v1.15.33 fixesThis patch release addresses several bugs related to resource migration in stacks, cloud backend flag forwarding, and provider installation crashes.
v1.15.21 fix1 featureThis patch release introduces an enhancement to stack planning output and resolves an issue with extraneous warnings during JSON output operations.
Common Errors
ResourceInUseException1 reportThe ResourceInUseException generally indicates that a resource Terraform is trying to modify or delete is currently being used or depended on by another resource. To resolve this, ensure dependent resources (like nodegroups attached to an EKS cluster) are explicitly deleted or detached *before* the resource causing the error. Terraform's `depends_on` attribute can also enforce the correct order of operations allowing dependent resources to be deleted first.
MalformedPolicyDocumentException1 reportMalformedPolicyDocumentException in Terraform usually arises from syntax errors or invalid structure within your IAM policy documents, especially in `aws_iam_policy` resources or when using `templatefile`. Carefully review the policy JSON for correctness, ensuring valid JSON syntax, proper escaping of special characters, and that all required fields adhere to the IAM policy grammar specified by AWS. Utilize online JSON validators and the AWS IAM policy simulator to identify and rectify any inconsistencies before applying your Terraform configuration.
Related Backend & Infra Packages
Production-Grade Container Scheduling and Management
Node.js JavaScript runtime ✨🐢🚀✨
Promise based HTTP client for the browser and node.js
A modern runtime for JavaScript and TypeScript.
Deliver web apps with confidence 🚀
Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
Subscribe to Updates
Get notified when new versions are released