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

Terraform provider generation now supports ephemeral resources and actions

Blog post from Speakeasy

Post Details
Company
Date Published
Author
Brian Flad
Word Count
735
Language
English
Hacker News Points
-
Summary

Terraform has introduced support for ephemeral resources and actions in its provider generation, enhancing its capabilities to handle temporary data and automate day-2 operations without persisting sensitive information to state. Ephemeral resources, introduced in Terraform 1.10, allow providers to manage temporary or sensitive data like secrets and tokens without storing them in the state file, addressing long-standing challenges of maintaining data security. Actions, introduced in Terraform 1.14, enable the integration of day-2 operational tasks such as backups or service restarts directly within Terraform, eliminating the need for external scripts or manual API calls. Both features utilize the x-speakeasy-entity-operation extension, maintaining consistency and familiarity with the existing configuration model, and support multiple API operations to accommodate complex workflows. These enhancements represent a significant step towards achieving feature parity between SDK and Terraform provider generation while ensuring backward compatibility.