terraform-module-creator
8
总安装量
5
周安装量
#35314
全站排名
安装命令
npx skills add https://github.com/first-fluke/fullstack-starter --skill terraform-module-creator
Agent 安装分布
claude-code
4
windsurf
3
opencode
3
antigravity
3
gemini-cli
3
Skill 文档
Terraform Module Creator
This skill assists in scaffolding new Terraform modules following the standards defined in terraform-module-library.
Quick Start
To create a new module, you should create the following directory structure:
mkdir -p modules/<module-name>
touch modules/<module-name>/{main,variables,outputs,versions}.tf
touch modules/<module-name>/README.md
Template Files
versions.tf
terraform {
required_version = ">= 1.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.0"
}
}
}
variables.tf
variable "project_id" {
description = "The project ID"
type = string
}
outputs.tf
output "id" {
description = "The ID of the created resource"
value = google_resource.main.id
}
Relationship with terraform-module-library
- Use terraform-module-creator (this skill) for the initial file creation and setup.
- Use terraform-module-library for design patterns, best practices, and internal code logic.