Prompt
What should I use for version-controlled infrastructure changes in CI/CD?
Latest observation
Oct 25, 2026
OpenAI APIWeb search: off
For version-controlled infrastructure changes in CI/CD, the usual best choice is Infrastructure as Code (IaC).
Good options
- Terraform — very common for cloud infrastructure, multi-cloud, declarative
- AWS CloudFormation / Azure Bicep / ARM / Google Cloud Deployment Manager — cloud-native options
- Pulumi — if you prefer using general-purpose languages like TypeScript, Python, Go
- Ansible — more for configuration management than pure infrastructure provisioning
- Kubernetes manifests / Helm / Kustomize — for app/platform infrastructure in Kubernetes environments
Recommended approach
Use an IaC tool stored in Git, and have your CI/CD pipeline:
- Validate the changes
- Plan/diff the changes
- Require approval if needed
- Apply the changes automatically or manually
If you want a simple default
- Terraform + Git + CI/CD pipeline is the most common pattern.
If you want, I can also recommend the best choice based on your cloud provider, team size, or whether you’re managing servers, containers, or networking.