hashicorp avatar

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-code

Installs 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
1softaworks avatargame-changing-featuressoftaworks/agent-toolkitFind 10x product opportunities and high-leverage improvements. Use when user wants strategic product thinking, mentions '10x', wants to find high-impact feature4Kskills.sh installs
2figma avatarfigma-implement-designfigma/mcp-server-guideTranslates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions "im4Kskills.sh installs
3vueuse avatarvueuse-functionsvueuse/skillsApply VueUse composables where appropriate to build concise, maintainable Vue.js / Nuxt features.3.9Kskills.sh installs
4dotnet avatarmigrate-mstest-v3-to-v4dotnet/skillsFix build errors and breaking changes after upgrading MSTest v3 to v4, or plan a complete v3-to-v4 migration. Use when user says "upgrade to MSTest v4", "MSTest3.9Kskills.sh installs
5mantinedev avatarmantine-custom-componentsmantinedev/skillsBuild custom components that integrate with Mantine's theming, Styles API, and core features. Use this skill when: (1) creating a new component using factory(),3.9Kskills.sh installs
6affaan-m avatarliterature-reviewaffaan-m/eccSystematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citati3.9Kskills.sh installs