Generate Terraform Provider

🌐Community
by speakeasy-api Β· vlatest Β· Repository

Helps with code generation, Terraform as part of deploying and managing cloud infrastructure workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add generate-terraform-provider npx -- -y @trustedskills/generate-terraform-provider
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "generate-terraform-provider": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/generate-terraform-provider"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill generates Terraform provider code based on a given API specification. It automates the creation of boilerplate code, significantly reducing development time for infrastructure-as-code solutions. The generated code includes resource schemas and data source implementations tailored to the specified API.

When to use it

  • You need to manage cloud resources defined by a custom API using Terraform.
  • Your team wants to standardize infrastructure provisioning with Terraform but lacks existing provider support.
  • You're building an internal tool that requires Terraform integration and want to accelerate development.
  • You are migrating from another infrastructure management system to Terraform.

Key capabilities

  • Generates Terraform provider code
  • Creates resource schemas based on API specifications
  • Implements data source functionality
  • Automates boilerplate code creation

Example prompts

  • "Generate a Terraform provider for the Acme Cloud API."
  • "Create a Terraform provider with resources for managing Acme Cloud users and groups."
  • β€œCan you generate a terraform provider based on this OpenAPI spec: [paste spec here]”

Tips & gotchas

The quality of the generated code depends heavily on the accuracy and completeness of the input API specification. Ensure your API definition is well-structured for optimal results.

Tags

πŸ›‘οΈ

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates β€” what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
speakeasy-api
Installs
17

🌐 Community

Passed automated security scans.