
Provider Actions
When you're building Terraform providers and need to run imperative operations at specific lifecycle events (before/after create, update, destroy), this walks you through the Plugin Framework implementation. It covers the complete setup: file structure, schema definition with all the type mismatches to avoid (the fwtypes.String vs types.String gotchas alone will save you time), and the invoke method with progress reporting and timeout handling. The polling patterns and error handling examples are concrete enough to adapt directly. Worth noting this is for experimental Terraform Actions, so you're working with a feature that's still being shaped upstream.
- skills.sh installs
- 4K
- GitHub stars
- 924
- last updated
- Aug 21, 2026
Install
$ npx -y skills add hashicorp/agent-skills --skill provider-actions --agent claude-codeInstalls into .claude/skills of the current project.
Files
Terraform Provider Actions Implementation Guide
Overview
Terraform Actions enable imperative operations during the Terraform lifecycle. Actions are experimental features that allow performing provider operations at specific lifecycle events (before/after create, update, destroy).
References:
First Action Setup
When adding the first action to a provider that has never had one, several one-time scaffolding steps are required:
Sponsors
Details
- Repository
- github.com/hashicorp/agent-skills
- Categories
- DevOps & CI/CD, AI & Agent Building, Cloud & Infrastructure
More from hashicorp/agent-skills
All 16- Run Acceptance Tests3.8K
- Azure Verified Modules3.4K
- Provider Test Patterns3.4K
- Provider Docs3.3K
- Aws Ami Builder3.3K
- Push To Registry3.1K
- Azure Image Builder2.8K
- Windows Builder2.8K
- Terraform Style Guide13.2K
- Terraform Test9.2K
- Refactor Module6.6K
- Terraform Stacks5.8K
- Terraform Search Import5.1K
- Provider Resources4.2K
- New Terraform Provider4K