Skip to main content

Your AI-powered Infrastructure as Code assistant

Project description

iac-code

AI-powered Infrastructure as Code assistant for Alibaba Cloud (ROS / Terraform) through natural language interaction.

Test PyPI Package Python

Language: English | 中文 | Español | Français | Deutsch | 日本語 | Português

Documentation: https://aliyun.github.io/iac-code/

iac-code demo

Installation

IaC Code requires Python 3.10 or later. It supports macOS, Linux, and Windows.

Windows note: On Windows, Git for Windows must be installed to provide the bash shell used by the tool execution environment. If Git Bash is installed but not on PATH, set the IAC_CODE_GIT_BASH_PATH environment variable.

pip install iac-code

Usage

On first use, configure the LLM provider and IaC cloud service by entering /auth in interactive mode.

Interactive Mode

Run directly to enter the interactive REPL:

iac-code

Non-Interactive Mode

Pass a one-shot prompt via --prompt:

iac-code --prompt "Create a VPC and two ECS instances"

Reading from stdin is also supported:

echo "Create an OSS Bucket" | iac-code --prompt -

Contact Us

DingTalk Discord
DingTalk Discord

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

iac_code-0.3.0.tar.gz (513.4 kB view details)

Uploaded Source

Built Distribution

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

iac_code-0.3.0-py3-none-any.whl (636.8 kB view details)

Uploaded Python 3

File details

Details for the file iac_code-0.3.0.tar.gz.

File metadata

  • Download URL: iac_code-0.3.0.tar.gz
  • Upload date:
  • Size: 513.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for iac_code-0.3.0.tar.gz
Algorithm Hash digest
SHA256 39f2cf92cb54c54f98ea9171d5717507a47e62ad2687b295932b2e33cd995f2c
MD5 1f060fd7533a238ab1b07c00a80cab50
BLAKE2b-256 3268708e47db0b6da0b77d4a1f8f7ec922f2fc6aae976514998dcccd31360705

See more details on using hashes here.

File details

Details for the file iac_code-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: iac_code-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 636.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for iac_code-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f2eecdf59f77b998c5e45ad132e4b981fef476a212383367e22ae30b6c595f1
MD5 478b95ef35adfe3923556257a632f7bb
BLAKE2b-256 ec1e19f677b3b0fd7c8b1a4b4461bc61613e203f9ebc9832e0c1cc0aedb92e90

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