Skip to content

aliyun/iac-code

Repository files navigation

iac-code

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

AI-powered Infrastructure as Code (IaC) assistant that generates and manages Alibaba Cloud resource orchestration templates (ROS / Terraform) through natural language interaction.

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

Installation

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 -

About

AI-powered Infrastructure as Code (IaC) assistant.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages