hashicorp avatar

New Terraform Provider

Scaffolds a new Terraform provider workspace with Plugin Framework, from go module setup through a verified build.

CCM score
68 of 100
skills.sh installs
4.1K
GitHub stars
941
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the initial workspace setup: Go module init, terraform-plugin-framework dependency, and a provider server entry point
  • Includes main.go and internal/provider/provider.go templates with a schema and Configure method to rename for the target API
  • Checks the result with go mod tidy, go build -o /dev/null, and go test ./... before the workspace is considered ready
  • Designed for starting a new terraform-provider-* project; hands off credential handling to provider-configuration and the first resource to provider-resources

Install

$ npx -y skills add hashicorp/agent-skills --skill new-terraform-provider -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

To scaffold a new Terraform provider with Plugin Framework:

Details

Repository
github.com/hashicorp/agent-skills
Categories
Go, DevOps & Cloud

More from hashicorp/agent-skills

All 16

Similar to New Terraform Provider

More Go