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.6.tar.gz (15.8 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.6-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: el_tfgen-0.2.6.tar.gz
  • Upload date:
  • Size: 15.8 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.6.tar.gz
Algorithm Hash digest
SHA256 b1ec118fc0d9f090eccedc4ec89e13ebde36aa26c11e0d0dc096568bf0e08653
MD5 f2798f34260b11a7c8826a8b85f99165
BLAKE2b-256 8b651560eb577716fc16ea68418f138bd56c4ffeaf0c4103511806898668ea8f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: el_tfgen-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 16.1 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 cd0b963e82491eab0ac7a9bca03f3379483bfbb291417fc5c3b9faca337ab5d3
MD5 994ac21f2bf9683d1358c5deed80ca37
BLAKE2b-256 b08a1b2469cb718797f37aa23a1f949f0feb04e2feaf3e9850e64da6d5e50c39

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