Generate a Terraform configuration for a production EKS cluster by typing a plain-English description instead of writing HCL from scratch.
Create a Dockerfile for any tech stack by describing what the container needs to do in natural language.
Produce kubectl or AWS CLI commands for any operation by describing what you want to accomplish, even if you don't know the exact syntax.
Configure AIAC with Ollama to generate all infrastructure code locally without sending any data to external AI providers.
Requires creating a TOML config file with your chosen AI backend's API credentials before running any generation commands.
AIAC is a command-line tool and Go library that generates infrastructure configuration files by sending plain-English prompts to an AI language model. Infrastructure-as-Code, often called IaC, refers to the practice of defining server and cloud setups in configuration files rather than clicking through a web console manually. Writing these files from scratch requires knowing the specific syntax of tools like Terraform, Kubernetes manifests, or CloudFormation templates. AIAC lets you describe what you want in plain language and have the AI produce the configuration for you. For example, you could type a prompt like "terraform for a highly available EKS cluster" and AIAC sends that to the AI model of your choice, then saves or prints the resulting Terraform code. It works beyond IaC templates: you can also generate Dockerfiles, CI/CD pipeline definitions, database queries, shell scripts, and command-line instructions for tools like kubectl or the AWS CLI. The tool supports multiple AI providers. You can connect it to OpenAI, to Amazon Bedrock (AWS's managed AI service), or to Ollama for running models locally on your own machine. You configure backends in a TOML file and can define several at once, for instance one pointing at a staging AWS account and another at production. When running a command you specify which backend to use, and you can also list the models available in each backend before generating anything. Installing AIAC can be done through Homebrew on macOS, via a Docker image, or by building from source with Go. It is also available in the Arch Linux user repository. The configuration is minimal: create the TOML file with your API credentials, pick a default model for each backend, and the tool is ready to use from the command line or as an imported library in a Go project. The full README is longer than what was shown.
← gofireflyio on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.