PR

provider-actions

Provides a framework for building imperative lifecycle actions within Terraform providers.

Install

mkdir -p .claude/skills/provider-actions && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/9329" && unzip -o skill.zip -d .claude/skills/provider-actions && rm skill.zip

Installs to .claude/skills/provider-actions

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Implement Terraform Provider actions using the Plugin Framework. Use when developing imperative operations that execute at lifecycle events (before/after create, update, destroy).
179 chars✓ has a “when” trigger
Advanced

Key capabilities

  • Implement pre-create hooks
  • Define custom update logic
  • Manage resource destruction cleanup
  • Report operation progress
  • Handle action timeouts

How it works

Integrates with the Terraform Plugin Framework to define actions that execute during specific lifecycle events, using a standard schema and Invoke method for logic execution.

Inputs & outputs

You give it
Terraform lifecycle event configuration
You get back
Executed imperative provider operation

When to use provider-actions

  • Implementing pre-create hooks
  • Defining custom update logic
  • Managing resource destruction cleanup
  • Creating service-specific provider actions

About provider-actions

Guides developers in implementing custom actions using the Terraform Plugin Framework. It standardizes the service package structure and schema definitions for pre- and post-resource operations.

Implement Terraform Provider actions using the Plugin Framework. Use when developing imperative operations that execute at lifecycle events (before/after create, update, destroy).

When not to use it

  • Standard CRUD resource operations
  • Non-lifecycle event operations

Prerequisites

Terraform Plugin Framework

Limitations

  • Before/After Destroy tests not supported in Terraform 1.14.0
  • Requires specific scaffolding for first-time action implementation

How it compares

Enables imperative operations during the Terraform lifecycle rather than being restricted to declarative state management.

Compared to similar skills

provider-actions side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
provider-actions (this skill)06moReviewAdvanced
bazel-build-optimization142moNo flagsAdvanced
aws-solution-architect203moReviewAdvanced
terraform-module-library74moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

bazel-build-optimization

wshobson

Optimize Bazel builds for large-scale monorepos. Use when configuring Bazel, implementing remote execution, or optimizing build performance for enterprise codebases.

14116

aws-solution-architect

alirezarezvani

Design AWS architectures for startups using serverless patterns and IaC templates. Use when asked to design serverless architecture, create CloudFormation templates, optimize AWS costs, set up CI/CD pipelines, or migrate to AWS. Covers Lambda, API Gateway, DynamoDB, ECS, Aurora, and cost optimization.

2047

terraform-module-library

wshobson

Build reusable Terraform modules for AWS, Azure, and GCP infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.

759

azure-deployment-preflight

github

Performs comprehensive preflight validation of Bicep deployments to Azure, including template syntax validation, what-if analysis, and permission checks. Use this skill before any deployment to Azure to preview changes, identify potential issues, and ensure the deployment will succeed. Activate when users mention deploying to Azure, validating Bicep files, checking deployment permissions, previewing infrastructure changes, running what-if, or preparing for azd provision.

746

terraform-azurerm-set-diff-analyzer

github

Analyze Terraform plan JSON output for AzureRM Provider to distinguish between false-positive diffs (order-only changes in Set-type attributes) and actual resource changes. Use when reviewing terraform plan output for Azure resources like Application Gateway, Load Balancer, Firewall, Front Door, NSG, and other resources with Set-type attributes that cause spurious diffs due to internal ordering changes.

534

terraform-skill

sickn33

Terraform infrastructure as code best practices

829

Search skills

Search the agent skills registry