hashicorp/provider-actions
Implement Terraform Provider Actions using the Plugin Framework
Open source
Description
provider-actions is an agent skill from HashiCorp that guides the implementation of Terraform Provider Actions with the Plugin Framework. Actions are experimental lifecycle hooks that run imperative operations before or after resource create and update events. The guide covers schema definition, invocation logic, testing patterns and documentation standards. The page says that without this, imperative work around Terraform lifecycle events needs external scripts or null resources with triggers, while the action pattern gives a structured, framework-native way to do it, with built-in progress reporting, timeout handling and typed schemas. Example jobs from the page are adding a post-create action to trigger a downstream service after a resource is provisioned, validating resource state before an update runs with a before_update action, polling an async API until it completes inside an action's Invoke method, and writing acceptance tests for actions. Because the actions feature is marked experimental, check the Terraform and provider versions you use before depending on it. Install it with npx skills add https://github.com/hashicorp/agent-skills --skill provider-actions. HashiCorp publishes it in its agent-skills repository on GitHub, and the page labels it official.…
Highlights
- Before and after create and update hooks
- Schema definition and Invoke logic
- Built-in progress reporting and timeouts
- Testing and documentation standards
- Polling async APIs inside actions
Ratings & Reviews
No ratings yet
Be the first to rate hashicorp/provider-actions.
People also visit
hashicorp/provider-actions FAQ
What are Terraform Provider Actions?
Experimental lifecycle hooks that run imperative operations before or after resource create and update events.
How do I install it?
Run npx skills add https://github.com/hashicorp/agent-skills --skill provider-actions.
What does the guide cover?
Schema definition, invocation logic, testing patterns and documentation standards.
Is the feature stable?
The page calls actions experimental, so check your Terraform and provider versions before relying on it.
Who publishes it?
HashiCorp, in its agent-skills repository on GitHub. The page labels it official.
What are the best hashicorp/provider-actions alternatives?
Popular alternatives to hashicorp/provider-actions include provider-actions, provider-resources and hashicorp/new-terraform-provider. See all hashicorp/provider-actions alternatives






