Prompt
What should I use instead of Terraform for declarative cloud infrastructure?
Latest observation
Oct 25, 2026
OpenAI APIWeb search: off
If you want a declarative alternative to Terraform for cloud infrastructure, the best choice depends on what you value most:
Strong alternatives
- Pulumi — declarative-ish, but you write infrastructure in general-purpose languages like TypeScript, Python, Go, or C#. Great if you want more flexibility and better software-engineering ergonomics.
- AWS CloudFormation — fully declarative and native to AWS. Best if you are all-in on AWS, but it’s AWS-only and can be verbose.
- AWS CDK — uses code to generate CloudFormation. More expressive than Terraform, but not purely declarative.
- Crossplane — Kubernetes-native declarative infrastructure management. Good if you already use Kubernetes and want GitOps-style workflows.
- Google Cloud Deployment Manager — declarative for GCP, though not as popular or actively favored as other options.
- Azure Bicep — the best declarative option for Azure. Cleaner and easier than ARM templates.
Best picks by scenario
- Multi-cloud / flexible / developer-friendly: Pulumi
- AWS only: CloudFormation or CDK
- Azure only: Bicep
- Kubernetes-centric platform teams: Crossplane
If you want the closest “Terraform replacement”
- Pulumi is usually the most common answer.
- If you want strict declarative state management with GitOps, Crossplane is worth a look.
If you tell me which cloud you use and whether you want pure declarative vs code-based infrastructure, I can recommend the best fit more precisely.