
Provider Resources
Terraform Plugin Framework guide for building provider resources, data sources, CRUD, schema, and acceptance tests.
- CCM score
- 75 of 100
- skills.sh installs
- 4.3K
- GitHub stars
- 941
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers resource and data source implementation: CRUD operations, schema design, plan modifiers, validators, and import support
- Includes Go code patterns for Create, Read (not-found removal from state), and Update (API calls only on changed attributes)
- Enforces Framework-first development for new resources, with guidance on muxing and avoiding naive SDKv2 migrations
- Designed for provider developers adding or reviewing resources, deciding resource boundaries, or handling eventual consistency
Install
$ npx -y skills add hashicorp/agent-skills --skill provider-resources -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Terraform Provider Resources Implementation Guide
Overview
This guide covers developing Terraform Provider resources and data sources. Resources represent infrastructure objects that Terraform manages through Create, Read, Update, and Delete (CRUD) operations.
Use the Plugin Framework
for all net-new resources and data sources. Plugin SDKv2 is for maintaining
resources that already exist on it; do not write new code against it. A
provider can serve both during migration by muxing
(terraform-plugin-mux),
so adopting the Framework never requires a big-bang rewrite. To tell which
mode an existing provider is in, check go.mod: terraform-plugin-mux
present means it serves both SDKv2 and Framework code; only
terraform-plugin-sdk/v2 means SDKv2-only; only
terraform-plugin-framework means Framework-only. Be cautious about
migrating existing SDKv2 resources: the Framework distinguishes null from
zero values, so naive migrations change behavior for existing users (use the
provider-framework-migration skill, if available).
Details
- Repository
- github.com/hashicorp/agent-skills
- Categories
- Go, DevOps & Cloud
More from hashicorp/agent-skills
All 16- New Terraform Provider4.1K
- Provider Actions4.1K
- Run Acceptance Tests3.9K
- Azure Verified Modules3.5K
- Provider Test Patterns3.5K
- Provider Docs3.4K
- Aws Ami Builder3.4K
- Push To Registry3.2K
- Azure Image Builder2.9K
- Windows Builder2.9K
- Terraform Style Guide13.8K
- Terraform Test9.5K
- Refactor Module6.9K
- Terraform Stacks5.9K
- Terraform Search Import5.2K
Similar to Provider Resources
More Go
provider-actionshashicorp/agent-skills4.1K installsGuide for implementing Terraform provider actions with the Plugin Framework, covering schema, invoke, timeouts, and error handling.
terraform-infrastructuremanutej/luxor-claude-marketplace440 installsComprehensive Terraform guide covering providers, modules, state, and multi-cloud infrastructure-as-code patterns.
terraformbobmatnyc/claude-mpm-skills343 installsInfrastructure-as-code workflow patterns for Terraform covering state, module design, and safe plan and apply.
mcp-buildermcp-use/mcp-use9.7K installsStructured workflow guide for building, migrating, and verifying TypeScript MCP servers and MCP Apps with mcp-use.
api-design-principlessickn33/agentic-awesome-skills1K installsStructured guide for designing REST and GraphQL APIs that stay intuitive and maintainable over time.