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.4.tar.gz (343.4 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.4-py3-none-any.whl (347.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: el_tfgen-0.2.4.tar.gz
  • Upload date:
  • Size: 343.4 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.4.tar.gz
Algorithm Hash digest
SHA256 63135d204d1a43372ea491c7563ae74701f59b4eee8ef945794a92ae3d56b719
MD5 2ab49841aea5398fd98fe9d609ba7e0c
BLAKE2b-256 a623104a7c742a35621a88c80922d1685bea07c48fa4b833300d2cf45313bdc3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: el_tfgen-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 347.2 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 20929cd787924495b9fa5dd2a6432b0bd4987edbcd90e758c93370373bc327d7
MD5 a7afe1b363b2b9e1ad0a492d889190c2
BLAKE2b-256 037408c1b3cc1b2109ace64531cdb289a2d9822ce73fb0126834aaa7cb61a24a

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