Terraform vs. Ansible
Both are 'infrastructure as code' and often appear side by side, so JDs treat them as interchangeable. They do different jobs: Terraform creates the infrastructure itself — servers, networks, databases in the cloud. Ansible configures what runs on servers once they exist — installing software, applying settings, rolling out updates. Teams commonly use both, Terraform first and Ansible second.
How to tell them apart on a resume
Terraform (provisioning)
AWS/Azure/GCP resources, modules, state files, 'terraform plan', Terragrunt, OpenTofu — building and changing cloud environments.
Ansible (configuration)
Playbooks, roles, inventories, YAML, patching fleets of servers, often next to Chef or Puppet — managing machines, frequently on-premises.
The question that settles it
“Did you use it to create cloud infrastructure like networks and servers, or to configure and update servers that already existed?”
Each term in plain English
- Terraform
A popular open-source tool for defining and provisioning cloud infrastructure using code (a leading Infrastructure as Code tool).
Ask “How did your team manage Terraform state and avoid conflicts when multiple people were making changes?”
- Ansible
A configuration-management tool that automates setting up and maintaining servers by describing their desired state in code (playbooks) — an agentless alternative/complement to tools like Terraform, more focused on configuring existing machines than provisioning new infrastructure.
Ask “How did your team split responsibilities between Terraform (or similar) and Ansible — what did each one actually own?”
- Infrastructure as Code
Managing servers and cloud resources by writing configuration files (code) instead of manually clicking through a console, so infrastructure is versioned and repeatable.
Ask “What's an infrastructure change you made through code that you remember used to be a manual console click?”
- Chef / Puppet
Configuration-management tools that keep large fleets of servers set up identically — the same software, settings and users on every machine — by describing the desired state in code.
Ask “Is that environment still running Chef or Puppet today? If you moved off it, what did you move to and why?”
Open the full tool for the other look-alike pairs, role profiles, and the JD decoder.