Skip to main content

A minimal example CLI package.

Project description

terragenai

A generative AI CLI tool that builds terraform configurations using Terraform Enterprise or Cloud private registry modules.

Common Flags

terragenai --help
terragenai --version
terragenai --configure

--configure saves settings to your OS-specific user config directory. It prompts for Terraform-related settings (TF_ORG, TF_REGISTRY_DOMAIN, TF_API_TOKEN, GIT_CLONE_TOKEN).

Overrides:

  • TERRAGENAI_HOME to place both files in a single custom directory.
  • TERRAGENAI_CONFIG_FILE to set an exact config file path.
  • TERRAGENAI_HISTORY_FILE to set an exact history file path.

Usage

% terragenai
TerragenAI Chat started. Type 'exit' to quit.

You: create 2 ec2 instances in us-west-2
Thinking...

Assistant: 

  module "ec2" {
    source         = "app.terraform.io/my-org/ec2-module/aws"
    ami            = "ami-0123456789abcdef0" 
    instance_type  = "t3.micro"
    key_name       = "my-ssh-key"
    region         = "us-west-2"
    instance_type  = "t3.micro"
    instance_count = 2
  }

You: exit
% 

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

terragenai-0.0.3.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

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

terragenai-0.0.3-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file terragenai-0.0.3.tar.gz.

File metadata

  • Download URL: terragenai-0.0.3.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for terragenai-0.0.3.tar.gz
Algorithm Hash digest
SHA256 67991d9dc4d9b81dfcd95a51737c79f34e0c019b0ae0086e4d6550de786d13c4
MD5 835df1d555f293cfa5679527cd9db3e7
BLAKE2b-256 2254dd8f5c2c970eb84d2f1dc6fb0e93eac356d59adbc7003cd2eb71ca6c0a48

See more details on using hashes here.

Provenance

The following attestation bundles were made for terragenai-0.0.3.tar.gz:

Publisher: publish.yml on eshika289/terragenAI

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file terragenai-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: terragenai-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for terragenai-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fe8d15fd68307668be2007dd9c12d6db80af67288ee8a63f8e98db2abfbfb0f6
MD5 928a02b69efb0d207f016aa478ae282c
BLAKE2b-256 81d81bdb6e8c8622cc3695cbbd631d3f744b02a13f7fb5dbc6311e93cb7b88e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for terragenai-0.0.3-py3-none-any.whl:

Publisher: publish.yml on eshika289/terragenAI

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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