LaunchKit · 2026

Setup & Installation

npx skills add https://github.com/hashicorp/agent-skills --skill provider-actions
or paste the link and ask your coding assistant to install it
https://github.com/hashicorp/agent-skills/tree/main/terraform/provider-development
View on GitHub

What This Skill Does

A guide for implementing Terraform Provider Actions using the Plugin Framework. Actions are experimental lifecycle hooks that run imperative operations before or after resource create and update events. Covers schema definition, invocation logic, testing patterns, and documentation standards.

Manually coordinating imperative operations around Terraform lifecycle events requires external scripts or null resources with triggers, but this guide gives you a structured, framework-native pattern with built-in progress reporting, timeout handling, and typed schema definitions.

When to use it

  • Adding a post-create action to trigger a downstream service after a resource is provisioned
  • Validating resource state before an update runs by wiring a before_update action
  • Polling an async API until completion inside an action's Invoke method
  • Writing acceptance tests for actions that require Terraform 1.14.0 or later
  • Documenting a new action with required front matter, examples, and changelog entries