provider-actions
OfficialAutomate Terraform provider lifecycle actions.
Authorhashicorp
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Terraform provider developers must run imperative operations at specific lifecycle events. This Skill shows how to implement Terraform Provider Actions using the Plugin Framework to execute before/after create, update, and destroy hooks.
Core Features & Use Cases
- Imperative lifecycle actions: run code during resource operations to enforce invariants, perform validations, or orchestrate side-effects.
- Service structure and integration: follow standard internal/service packages and register actions with the provider.
- Testing and reliability: guidance on testing action logic, handling timeouts, and error reporting.
Quick Start
Create a new action under the provider's internal/service package, implement the Invoke method and action schema, wire it into the service registry, and run go build and tests.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: provider-actions Download link: https://github.com/hashicorp/agent-skills/archive/main.zip#provider-actions Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.