provider-actions

Automates lifecycle-time provider actions in Terraform's Plugin Framework with structured schema, progress reporting, and error diagnostics.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/hashi-demo-lab/terraform-provider-aap --skill provider-actions-hashi-demo-lab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: provider-actions
Source: https://github.com/hashi-demo-lab/terraform-provider-aap/tree/main/.claude/skills/provider-actions
Command: npx skills add https://github.com/hashi-demo-lab/terraform-provider-aap --skill provider-actions-hashi-demo-lab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates lifecycle-time provider actions in Terraform to streamline and standardize how provider code runs during resource changes, reducing manual scripting and errors.

Core Features & Use Cases

  • Action Schema Definition, Invoke methods, progress updates, error handling, and provider SDK integration for deterministic lifecycle operations.
  • Use Case: automatically execute before_create and after_create hooks to validate inputs and ensure state consistency across resources.
  • Use Case: orchestrate multi-step changes across resources with robust error handling and timeouts.

Quick Start

Configure and implement provider actions using the Plugin Framework to run code at lifecycle events during resource operations.

Frequently Asked Questions about provider-actions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Terraform provider actions at resource lifecycle events?

To automate Terraform provider actions at lifecycle events, implement structured before and after create, update, and destroy hooks within the Plugin Framework. This enables deterministic, event-driven operations by standardizing how provider code executes during resource changes.

What are Terraform Plugin Framework lifecycle hooks used for?

Terraform Plugin Framework lifecycle hooks are used to trigger deterministic provider actions before or after resource creation, updates, and destruction. They solve the problem of standardizing event-driven operations, validating inputs, and ensuring state consistency across resources without manual scripting.

How do I implement error diagnostics and timeouts for Terraform provider actions?

Implement error diagnostics and timeout handling for Terraform provider actions by configuring a structured action schema within the Plugin Framework. This approach applies robust error handling and timeout configurations to orchestrate multi-step resource changes deterministically.

Does the Terraform Plugin Framework support progress reporting for custom provider actions?

Yes, the Terraform Plugin Framework supports progress reporting for custom provider actions. You can define an action schema that includes progress updates and error diagnostics, allowing deterministic lifecycle operations and provider SDK integration during resource modifications.

What is the best way to orchestrate multi-step changes across Terraform resources?

The best way to orchestrate multi-step changes across Terraform resources is by implementing event-driven provider actions using the Plugin Framework. This method applies structured action schemas with robust error handling and timeouts to ensure deterministic lifecycle operations.