Skip to content
Back to skills

New Terraform Provider

ASecurity

Use this when scaffolding a new Terraform provider.

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 4, 2026
devopsgoterraformgit

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned June 4, 2026

npx -y skills add lidge-jun/cli-jaw-skills --skill new-terraform-provider --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of New Terraform Provider?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for New Terraform Provider
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lidge-jun-new-terraform-provider/badge)](https://www.skillsdirectory.com/skills/lidge-jun-new-terraform-provider)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: new-terraform-provider
description: Use this when scaffolding a new Terraform provider.
license: MPL-2.0
metadata:
  copyright: Copyright IBM Corp. 2026
  version: "0.0.1"
---

To scaffold a new Terraform provider with Plugin Framework:

1. If already in a Terraform provider workspace, confirm before creating a new
   one. Skip remaining steps if declined.
1. Create a workspace root directory prefixed with `terraform-provider-`.
   Run all subsequent steps inside it.
1. Initialize a new Go module.
1. Run `go get -u github.com/hashicorp/terraform-plugin-framework@latest`.
1. Write a `main.go` following [the example](assets/main.go).
1. Remove TODO comments from `main.go`.
1. Run `go mod tidy`.
1. Run `go build -o /dev/null`.
1. Run `go test ./...`.

Files in this skill

  • SKILL.md769 B
  • assets/main.go1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…