Home / Companies / Speakeasy / Blog / Post Details
Content Deep Dive

Release: Terraform v2

Blog post from Speakeasy

Post Details
Company
Date Published
Author
Thomas Rooney
Word Count
1,170
Language
English
Hacker News Points
-
Summary

The recent update to the Terraform provider introduces several enhancements designed to streamline and expand its capabilities for handling complex API patterns. By transitioning from the terraform-plugin-sdk/v2 to the terraform-plugin-framework, users experience seamless continuity without requiring intervention from their teams. Notable new features include the ability to collapse multiple API endpoints into a single Terraform entity, thus simplifying user interactions and lifecycle management. The update also introduces custom plan validators, which allow users to implement specific business logic through custom validation checks, enhancing the default validation based on OpenAPI specifications. Additionally, the update supports default and const attributes, enabling optimized Terraform interfaces, and introduces array batch method support for APIs with batch create and update endpoints, ensuring consistency with Terraform's single-resource interaction model.