Prompt
open source IaC alternatives
Latest observation
Here are solid open-source Infrastructure as Code (IaC) alternatives, grouped by use case:
General-purpose provisioning
-
Terraform (open source core fork: OpenTofu)
Best-known declarative IaC tool for provisioning cloud infrastructure.- Language: HCL
- Strong provider ecosystem
- OpenTofu is the open-source community fork of Terraform
-
Pulumi (open source core)
Uses general-purpose languages like TypeScript, Python, Go, C#, Java.- Good if you prefer real programming languages
- Supports multi-cloud and Kubernetes
-
Crossplane
Kubernetes-native IaC/control plane.- Manages cloud resources using Kubernetes CRDs
- Great if your platform is Kubernetes-centric
Configuration management / OS-level automation
-
Ansible
Agentless automation and configuration management.- YAML-based playbooks
- Good for servers, app deploys, and orchestration
-
SaltStack open source
Fast remote execution and configuration management.- More complex but powerful for large fleets
-
Puppet Open Source
Mature declarative configuration management.- Good for large-scale server state enforcement
-
Chef Infra
Code-driven configuration management.- Uses Ruby DSL
- Strong for complex automation
Kubernetes-focused
-
Helm
Package manager for Kubernetes.- Templated manifests
- Widely used for app deployment
-
Kustomize
Template-free Kubernetes config customization.- Built into kubectl
- Good for overlays/environments
-
Argo CD / Flux CD
GitOps tools for continuous delivery to Kubernetes.- Sync desired state from Git
- Excellent for cluster/app deployment pipelines
Cloud-native policy / governance
-
OPA (Open Policy Agent)
Policy-as-code engine.- Use with Kubernetes, admission control, and infrastructure governance
-
Kyverno
Kubernetes-native policy engine.- Simpler for K8s policy automation
VM/image provisioning
- Packer
Builds machine images for cloud/VM platforms.- Often paired with Terraform/OpenTofu or Ansible
Quick recommendations
- If you want Terraform-like but open source: OpenTofu
- If you want to use Python/TypeScript/etc.: Pulumi
- If you manage Kubernetes heavily: Crossplane + Argo CD/Flux + Helm/Kustomize
- If you mainly configure servers: Ansible
- If you want policy enforcement: OPA or Kyverno
If you want, I can also give you:
- a comparison table,
- recommendations by AWS/Azure/GCP/Kubernetes, or
- a fully open-source IaC stack for a typical company.