AI-powered Infrastructure-as-Code Generator
FreeFreeFree tier
Inputs: textOutputs: code
About AI-powered Infrastructure-as-Code Generator
aiac is an open-source command-line tool and Go library that leverages large language models (LLMs) such as OpenAI, Amazon Bedrock, and Ollama to generate Infrastructure as Code (IaC) templates, configuration files, CI/CD pipeline definitions, policy as code, utility scripts, and database queries. Users provide natural language prompts to create outputs for cloud providers (AWS, Azure, GCP) and tools like Terraform, Pulumi, CloudFormation, Kubernetes, Docker, Jenkins, GitHub Actions, OPA, and more. It supports multiple backends via a configuration file, stores generated code to files, and prints to standard output.
Key Features
Generate IaC templates (Terraform, Pulumi, CloudFormation)
Generate configuration files (Docker, Kubernetes manifests)
Generate CI/CD pipelines (Jenkins, GitHub Actions)
Generate policy as code (OPA)
Generate utility scripts (Python, Bash)
Generate command line commands (kubectl, awscli) and database queries (Mongo, Elastic, SQL)
Support for multiple LLM providers: OpenAI, Amazon Bedrock, Ollama
CLI and Go library with configurable backends
Output to file or stdout
Pros & Cons
Pros
- Open source and free to use
- Supports multiple major LLM providers (OpenAI, Bedrock, Ollama)
- Wide range of use cases from IaC to utilities and queries
- Offers both CLI and library interfaces
- Configurable backends for different environments
- Generates output to files and standard output
Best For
Infrastructure as Code generation for cloud resourcesConfiguration file generation (Docker, Kubernetes, etc.)CI/CD pipeline creation for various platformsPolicy as code generation (e.g., OPA policies)Utility script generation (Python, Bash)Command line builder (kubectl, awscli)Database query builder (Mongo, Elastic, SQL)
FAQ
What LLM providers does aiac support?
aiac supports OpenAI, Amazon Bedrock, and Ollama as LLM providers.
Can I use aiac as a library in my own projects?
Yes, aiac is available both as a CLI tool and as a Go library.
What do I need to use aiac with OpenAI?
You need an OpenAI API key. For Amazon Bedrock, you need an AWS account with Bedrock enabled. For Ollama, you need a local Ollama server.