provider-resources

Implement Terraform provider resources and data sources with the Plugin Framework.

Updated Jul 20, 2026
One-click install
npx skills add https://github.com/kk0ga/terraform-aws-learning --skill provider-resources-kk0ga
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: provider-resources
Source: https://github.com/kk0ga/terraform-aws-learning/tree/main/.agents/skills/provider-resources
Command: npx skills add https://github.com/kk0ga/terraform-aws-learning --skill provider-resources-kk0ga

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the complexity of building and maintaining Terraform providers by providing a structured framework for implementing CRUD operations, schema definitions, and state management.

Core Features & Use Cases

  • CRUD Implementation: Standardized patterns for Create, Read, Update, and Delete operations using the Terraform Plugin Framework.
  • Schema Design: Best practices for defining resource attributes, plan modifiers, and input validation.
  • Testing & Validation: Comprehensive guidance on writing acceptance tests, handling resource disappearance, and managing state transitions.
  • Use Case: Use this Skill when building a new cloud provider integration or extending an existing one to ensure consistent resource lifecycle management and high-quality code.

Quick Start

Use the provider-resources skill to generate the boilerplate code and acceptance test structure for a new resource named virtual_machine.

Frequently Asked Questions about provider-resources

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

FAQPage Schema
How do I implement CRUD operations for a Terraform provider resource?

To design schemas for Terraform provider resources, define resource attributes, apply plan modifiers, and configure input validation using the Terraform Plugin Framework to ensure robust infrastructure-as-code compliance and state management.

What's the best way to structure acceptance testing for Terraform providers?

The best way to structure acceptance testing for Terraform providers is to generate standardized test boilerplate that handles resource disappearance, validates state transitions, and ensures comprehensive coverage of infrastructure provider lifecycle operations.

Does the Terraform Plugin Framework support both resources and data sources?

You need the provider-resources approach when building a new cloud provider integration or extending an existing one, ensuring consistent resource lifecycle management and high-quality infrastructure-as-code through standardized CRUD patterns.

How do I handle error handling and diagnostics in Terraform provider development?

You need the provider-resources approach when building a new cloud provider integration or extending an existing one, ensuring consistent resource lifecycle management and high-quality infrastructure-as-code through standardized CRUD patterns.