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.zipInstalls 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).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
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
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| provider-actions (this skill) | 0 | 6mo | Review | Advanced |
| bazel-build-optimization | 14 | 2mo | No flags | Advanced |
| aws-solution-architect | 20 | 3mo | Review | Advanced |
| terraform-module-library | 7 | 4mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by hashicorp
View all by hashicorp →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.
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.
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.
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.
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.
terraform-skill
sickn33
Terraform infrastructure as code best practices