# Infrastructure as code: what AI assistants recommend, December 2026

Gane Index, December 2026 Edition. Asked as "infrastructure-as-code tool" and as "IaC platform for provisioning cloud resources", six ways of asking each, to fourteen models with search on, on behalf of a mid-market B2B company. Page: https://www.gane.ai/index/it/cloud/infrastructure-as-code/mid-market

**Standing:** Terraform leads with 60% of first picks; verdict clear leader. 60 first picks across four ways of asking (asked directly, reworded, on a budget and at your size).

## Share of first picks

| Rank | Product | Share | Negative rate | Labels |
|---|---|---|---|---|
| 1 | [Terraform](https://www.gane.ai/index/it/vendors/terraform/index.md) | 60% | 17% | 87 |
| 2 | [OpenTofu](https://www.gane.ai/index/it/vendors/opentofu/index.md) | 30% | 4% | 51 |
| 3 | [Pulumi](https://www.gane.ai/index/it/vendors/pulumi/index.md) | 5% | 12% | 75 |
| 6 | [AWS CloudFormation](https://www.gane.ai/index/it/vendors/aws-cloudformation/index.md) | 0% | 16% | 56 |
| 7 | [AWS CDK](https://www.gane.ai/index/it/vendors/aws-cdk/index.md) | 0% | 20% | 35 |
| 8 | [Azure Bicep](https://www.gane.ai/index/it/vendors/azure-bicep/index.md) | 0% | 20% | 40 |
| 9 | [Crossplane](https://www.gane.ai/index/it/vendors/crossplane/index.md) | 0% | 12% | 26 |
| 10 | [Ansible](https://www.gane.ai/index/it/vendors/ansible/index.md) | 0% | 33% | 43 |
| 11 | [Spacelift](https://www.gane.ai/index/it/vendors/spacelift/index.md) | 0% | 14% | 14 |
| 25 | [Google Cloud Deployment Manager](https://www.gane.ai/index/it/vendors/google-cloud-deployment-manager/index.md) | 0% | 27% | 11 |
| 42 | [SaltStack](https://www.gane.ai/index/it/vendors/saltstack/index.md) | 0% | 36% | 11 |
| 63 | [Puppet](https://www.gane.ai/index/it/vendors/puppet/index.md) | 0% | 45% | 20 |

Rank is by share of first picks among all 65 products named; products with the same share are tied, and the order among them carries no meaning. The table lists those with at least 10 labels.

## Each assistant's first pick on the direct prompt

- Claude Haiku 4.5: OpenTofu; alternatives Pulumi, Terraform, env0
- GPT-5.4 mini: Terraform; alternatives AWS CDK, AWS CloudFormation, OpenTofu
- Gemini 3.5 Flash: Terraform/OpenTofu; alternatives AWS CDK, Azure Bicep, Pulumi, Scalr
- Perplexity Sonar: Terraform; alternatives AWS CloudFormation, OpenTofu, Pulumi
- Grok 4.20: OpenTofu, Terraform; alternatives Pulumi, Spacelift
- Mistral Small: Terraform; alternatives OpenTofu, Pulumi
- DeepSeek V4 Flash: OpenTofu, Terraform; alternatives AWS CloudFormation, Pulumi
- Llama 4 Maverick: Terraform; alternatives OpenTofu
- Qwen 3.7 Flash: Terraform; alternatives OpenTofu, Pulumi
- Kimi K2: Pulumi; alternatives Terraform Community/OpenTofu
- GLM 4.7 FlashX: Terraform; alternatives AWS CloudFormation, OpenTofu, Pulumi
- MiniMax M2.5: Terraform; alternatives AWS CloudFormation, Pulumi
- GPT-6 Luna: OpenTofu, Terraform; alternatives AWS CDK, AWS CloudFormation, Pulumi
- Muse Glimmer 30B: Terraform; alternatives AWS CloudFormation, OpenTofu, Pulumi, Red Hat Ansible Automation Platform

## Sources the answers cite

62 of 84 answers came back with a source list, from 13 of 14 AI assistants. Sites named in the most answers:

- gane.ai/index: 18 answers, 63 citations
- pulumi.com: 15 answers, 15 citations
- docs.aws.amazon.com: 14 answers, 20 citations
- spacelift.io: 13 answers, 15 citations
- cortex.io: 12 answers, 12 citations
- developer.hashicorp.com: 11 answers, 21 citations
- techtarget.com: 11 answers, 11 citations
- blog.facets.cloud: 9 answers, 9 citations

Pages named in the most answers:

- https://gane.ai/index/it/cloud/infrastructure-as-code/guide (16 answers)
- https://cortex.io/post/best-infrastructure-as-code-iac-tools (10 answers)
- https://techtarget.com/news/8-popular-infrastructure-as-code-IaC-tools-to-consider/858033 (10 answers)
- https://blog.facets.cloud/top-8-infrastructure-as-code-iac-tools-for-2024 (9 answers)
- https://gane.ai/index/it/cloud/infrastructure-as-code/2026-09/mid-market (9 answers)
- https://docs.aws.amazon.com/pdfs/prescriptive-guidance/latest/choose-iac-tool/choose-iac-tool.pdf (8 answers)
- https://guideflow.com/blog/infrastructure-as-code-tools (7 answers)
- https://pulumi.com/blog/infrastructure-as-code-tools (7 answers)
- https://duplocloud.com/blog/infrastructure-as-code-tools (6 answers)
- https://gane.ai/index/it/cloud/infrastructure-as-code (6 answers)

## Warned about

- Ansible: 14 of 43 labels negative. "More appropriate for configuration management and procedural operations than as the sole tool for declaratively provisioning modern cloud infrastructure." (Perplexity Sonar, at your size)
- Terraform: 15 of 87 labels negative. "avoid starting new projects on HashiCorp Terraform — consider OpenTofu instead" (DeepSeek V4 Flash, which to avoid)
- Puppet: 9 of 20 labels negative. "warnings that using it for cloud-native provisioning is considered a "massive anti-pattern."" (Mistral Small, which to avoid)
- Chef: 10 of 16 labels negative. "Consistently receives high negative ratings (73–75% negative feedback), with AI models warning against its use" (Mistral Small, which to avoid)

## Movement since November 2026

Floor: 11 points of share, measured on the calibration repeat.
Same leader: Terraform at 60%.

- Terraform: 58% to 60%, +2. Within normal movement by 9 points · rank 1 of 65, unchanged.
- Ansible: 2% to 0%, −2. Within normal movement by 9 points · rank 5 → 10 of 65.
- OpenTofu: 31% to 30%, −1. Within normal movement by 10 points · rank 2 of 65, unchanged.
- Pulumi: 6% to 5%, −1. Within normal movement by 10 points · rank 3 of 65, unchanged.
- AWS CloudFormation: 0% to 0%, ±0. Within normal movement by 11 points · rank 6 of 65, unchanged.
- AWS CDK: 0% to 0%, ±0. Within normal movement by 11 points · rank 7 of 65, unchanged.
- Azure Bicep: 0% to 0%, ±0. Within normal movement by 11 points · rank 8 of 65, unchanged.
- Crossplane: 0% to 0%, ±0. Within normal movement by 11 points · rank 9 of 65, unchanged.
- Spacelift: 0% to 0%, ±0. Within normal movement by 11 points · rank 10 → 11 of 65.
- env0: 0% to 0%, ±0. Within normal movement by 11 points · rank 11 → 12 of 65.
- Google Cloud Deployment Manager: 0% to 0%, ±0. Within normal movement by 11 points · rank 25 of 65, unchanged.
- SaltStack: 0% to 0%, ±0. Within normal movement by 11 points · rank 39 → 42 of 65.

## Record

- Method: https://www.gane.ai/index/it/methodology
- License: CC BY 4.0. Cite as Gane Index, December 2026 Edition, www.gane.ai/index/it.
