Company
Date Published
Author
Dan Barr
Word count
1093
Language
English
Hacker News points
2

Summary

HashiCorp has released Terraform 1.5, featuring a config-driven import workflow and enhanced validation with checks. The new config-driven import mechanism allows for bulk execution of import operations as part of the standard plan and apply cycle, eliminating the risk of unexpected state modification. Additionally, automatic code generation for imported resources reduces the amount of time spent writing code to match the imported resources. Checks are a new top-level construct that gives Terraform practitioners and module authors flexibility to define assertions within Terraform code, allowing for holistic functional validation of infrastructure after it is provisioned.