Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

neo-tf-module-generator

bởi martinforsulu

DevOps & Cloud
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Automatically generates Terraform modules from existing cloud infrastructure resources with intelligent resource.

Mô tả

Kỹ năng này làm gì

Scans live cloud infrastructure across AWS, Azure, and GCP and generates ready-to-use Terraform modules from discovered resources. Produces variable definitions, outputs, and documentation alongside the module code. Validates generated syntax against Terraform best practices.

Eliminates the manual reverse-engineering of live infrastructure into Terraform code, reducing the gap between what is deployed and what is declared.

Khi nào nên dùng

  • Converting an existing AWS VPC setup into a reusable Terraform module
  • Capturing GCP Cloud SQL configurations as versioned infrastructure code
  • Onboarding legacy Azure resources into a Terraform-managed workflow
  • Generating module scaffolding for EC2 instances before a migration
  • Creating Terraform modules from deployed networking resources without manual inspection

Quy trình ví dụ

ĐẦU VÀO

User asks: Generate a Terraform module from my existing AWS EC2 instances in us-east-1

AGENT
  1. 1

    Reads AWS credentials from the configured CLI profile

  2. 2

    Runs the AWS scanner to discover EC2 instances and their attributes in the target region

  3. 3

    Passes discovered resource data to the Terraform generator to produce module code with variables and outputs

  4. 4

    Validates the generated HCL syntax and checks against Terraform best practices

  5. 5

    Writes the final module files and usage documentation to the output directory

ĐẦU RA

A complete Terraform module directory with main.tf, variables.tf, outputs.tf, and README.md representing the discovered EC2 instances

Yêu cầu

  • AWS CLI configured with credentials (for AWS resources)
  • Azure CLI configured with credentials (for Azure resources)
  • GCP CLI (gcloud) configured with credentials (for GCP resources)

Cài đặt

clawhub install martinforsulu/neo-tf-module-generator

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết