skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

provider-resources

Implement Terraform Provider resources and data sources using the Plugin Framework

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/hashicorp/agent-skills --skill provider-resources

Overview

What This Skill Does

Implements Terraform Provider resources and data sources using the Plugin Framework. Covers CRUD operations, schema design, state management, and acceptance testing for provider resources. Targets Go developers building or maintaining Terraform providers.

Application

When to use this Skill

Documentation

Show Skills.md file

Terraform Provider Resources Implementation Guide

Overview

This guide covers developing Terraform Provider resources and data sources using the Terraform Plugin Framework. Resources represent infrastructure objects that Terraform manages through Create, Read, Update, and Delete (CRUD) operations.

References:

File Structure

Resources follow the standard service package structure:

internal/service/<service>/
├── <resource_name>.go           # Resource implementation
├── <resource_name>_test.go      # Acceptance tests
├── <resource_name>_data_source.go    # Data source (if applicable)
├── find.go                      # Finder functions
├── exports_test.go              # Test exports
└── service_package_gen.go       # Auto-generated registration
Lines 1 - 25 of 591

Recommendations

Explore other random skills

All skillsMy patterns