provider-resources

Automate Terraform provider resource and data source development with the Plugin Framework.

790|117|Updated Nov 8, 2025
One-click install
npx skills add https://github.com/hashicorp/agent-skills --skill provider-resources
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: provider-resources
Source: https://github.com/hashicorp/agent-skills/tree/main/terraform/provider-development/skills/provider-resources
Command: npx skills add https://github.com/hashicorp/agent-skills --skill provider-resources

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Terraform provider development often requires repetitive CRUD, schema, and testing boilerplate. This Skill provides a standardized approach to implementing provider resources and data sources using the Terraform Plugin Framework.

Core Features & Use Cases

  • Standardized resource and data source patterns following the Plugin Framework.
  • Acceptance testing scaffolds, state management patterns, and documentation templates.
  • Use Case: Build a CRUD-backed resource for a fictional service with tests and state reconciliation.

Quick Start

To begin, clone the provider-resources pattern and adapt it to your service's resources; then implement the CRUD operations and run the acceptance tests.

Frequently Asked Questions about provider-resources

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

FAQPage Schema
How do I implement Terraform provider resources using the Plugin Framework?

Implement Terraform provider resources by applying standardized CRUD operations, schema design, and state management patterns using the Terraform Plugin Framework. This approach generates consistent resources and data sources within a standard project layout.

What is the best way to structure acceptance tests for a Terraform provider?

Structure acceptance tests for a Terraform provider by utilizing standardized scaffolding patterns. This ensures consistent test coverage across resources and data sources while validating state reconciliation and CRUD behavior.

Do I need to know the Terraform Plugin Framework to develop provider data sources?

Yes, developing provider data sources requires knowledge of the Terraform Plugin Framework, standard provider service structure, and acceptance test scaffolding to generate consistent implementations.

How does state management work for custom Terraform provider resources?

State management for custom Terraform provider resources involves applying standardized patterns within the Plugin Framework to reconcile state during CRUD operations, ensuring data consistency between the configuration and real-world infrastructure.

Can I standardize CRUD operations across multiple Terraform provider resources?

Yes, you can standardize CRUD operations across multiple Terraform provider resources by adopting a standard project layout and applying the Plugin Framework patterns, reducing repetitive boilerplate code.