Company
Date Published
Author
Dan Barr
Word count
835
Language
English
Hacker News points
None

Summary

Terraform 1.6 is now generally available, bringing a powerful new testing framework that allows authors to systematically validate the functionality of their code. This release enhances developer productivity and practitioner workflows with features such as improved config-driven import, enhancements for Terraform Cloud CLI workflows, and changes to the Amazon S3 remote state backend. The new test framework uses familiar HashiCorp Configuration Language (HCL) syntax and allows authors to create a suite of unit and integration tests with custom assertions. Additionally, Terraform 1.6 introduces support for dynamic `id` attributes in import blocks, two new features in Terraform Cloud CLI workflows, and significant changes to the configuration format of the Amazon S3 remote state backend.