Generate Terraform Provider
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.
Run in terminal (recommended)
claude mcp add generate-terraform-provider npx -- -y @trustedskills/generate-terraform-provider
Or manually add to ~/.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 Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
π Community
Passed automated security scans.