skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

provider-actions

Implement Terraform Provider Actions using the Plugin Framework

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/hashicorp/agent-skills --skill provider-actions

Overview

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.

Application

When to use this Skill

Documentation

Show Skills.md file

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:

File Structure

Actions follow the standard service package structure:

internal/service/<service>/
├── <action_name>_action.go       # Action implementation
├── <action_name>_action_test.go  # Action tests
└── service_package_gen.go        # Auto-generated service registration

Documentation structure:

website/docs/actions/
└── <service>_<action_name>.html.markdown  # User-facing documentation
Lines 1 - 26 of 470

Recommendations

Explore other random skills

All skillsMy patterns