Skip to main content

AI-powered Terraform module generator - Create Terraform configurations from provider documentation

Project description

eL-tfgen

AI-Powered Terraform Module Generator

Generate production-ready Terraform configurations from provider documentation using Claude AI.

Features

  • 🤖 AI-Powered Generation: Uses Anthropic's Claude to understand and generate Terraform code
  • 📚 Documentation Parsing: Automatically scrapes and analyzes Terraform provider documentation
  • 🖥️ GUI & CLI: User-friendly interface or command-line for automation
  • Fast & Accurate: Generates complete, working Terraform modules in seconds
  • 🔧 Customizable: Handles various providers and resource types

Installation

pip install eL-tfgen

Quick Start

GUI Mode

tfgen-ui

CLI Mode

tfgen --help

Requirements

  • Python 3.8 or higher
  • Anthropic API key (set in .env file as ANTHROPIC_API_KEY)

Configuration

Create a .env file in your working directory:

ANTHROPIC_API_KEY=your_api_key_here

Use Cases

  • Generate Terraform modules for new cloud resources
  • Quickly scaffold infrastructure code
  • Learn Terraform best practices from AI-generated examples
  • Automate repetitive Terraform code creation

License

MIT

Author

eLTitans

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

el_tfgen-0.2.3.tar.gz (343.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

el_tfgen-0.2.3-py3-none-any.whl (347.4 kB view details)

Uploaded Python 3

File details

Details for the file el_tfgen-0.2.3.tar.gz.

File metadata

  • Download URL: el_tfgen-0.2.3.tar.gz
  • Upload date:
  • Size: 343.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for el_tfgen-0.2.3.tar.gz
Algorithm Hash digest
SHA256 7f3b392745e9481dcde465da4de6259e12b1dde229ba58546f491c6a619be5af
MD5 e6090b3f6d2b98653e204c9ce1f01b4e
BLAKE2b-256 370974c9bd9f26adf7ae34ec4d6d0a9245a0bd5b38017488c4fb280ccbe66466

See more details on using hashes here.

File details

Details for the file el_tfgen-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: el_tfgen-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 347.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for el_tfgen-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0986389ccfb968835561e097644c4fd62d5a74119f65f12e8445262a3cbd745a
MD5 5f9f0c1e68bba43d1e178d8bb41a26b3
BLAKE2b-256 484d18860f22139d69c56dfc12553b0f0eb64506576661667ccf173e95e8b0b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page