The Free tier covers 500 managed resources with unlimited users at no charge. The older Free plan ended on March 31, 2026. The HashiCorp Terraform Cloud pricing guide breaks down each tier.
The free tier stops at 500 resources. At the listed Essentials rate, 501 resources would cost $50.10 a month, or $601.20 a year. A lab of 1,000 resources would cost $1,200 a year on Essentials and $11,880 a year on Premium. These totals come from HashiCorp's listed prices.
The Ansible side publishes no per-host fee. Red Hat says Ansible Automation Platform pricing varies by sizing and subscription.
Which version would you actually be learning on?
Version choice matters more than most comparison pages admit. The Ansible release and maintenance schedule shows the release cadence. Ansible ships a major version every six months or so, usually in May and November. Support spans three majors at a time.
| Product | Version | Released | Support window |
| Terraform | 1.17.1 | 2026-10-28 | Current latest. The 1.16.7 patch line runs in parallel |
| Terraform | 1.17.0 | 2026-10-21 | Terraform Policy generally available, -minimal-refresh planning |
| ansible-core | 2.21 | GA May 2026 | Security-only from May 2027. End of life Nov 2027 |
| ansible-core | 2.20 | 2025-11-03 | Critical fixes ended 2026-05-18. Security-only to 2026-11-02. EOL May 2027 |
| ansible-core | 2.19 | 2025-07-21 | Critical fixes ended 2025-11-03. Security-only to 2026-05-18. EOL Nov 2026 |
| Ansible Community Package | 14.x | Current | Only maintained major. Minors every 4 weeks. 13.x EOL Jun 2026 |
The cliff sits in 2.19. It reached general availability on July 21, 2025 and reaches end of life in November 2026. A tutorial pinned to that version teaches a release that loses support within weeks. Learn 2.21, which stays supported until November 2027.
Terraform is on version 1.17.1, released October 28, 2026. Any current tutorial should match a 1.x release from this year.
Since June 2026, HashiCorp and Red Hat ship an official bridge. The old ansible vs terraform framing treated the tools as rivals.
Their announcements cover an official Ansible Automation Platform provider for Terraform. Teams can manage platform resources through code. They also cover the Terraform Ansible collection 2.0, now generally available on pyTFE 1.0. Ansible users can manage Terraform projects, workspaces and runs from the platform.
The collection includes an experimental dynamic inventory plugin. It reads Terraform state from HCP Terraform and builds Ansible inventory from it. You need no Terraform command line tool and no backend credentials.
HashiCorp moved Terraform from the Mozilla Public License to the Business Source License on August 10, 2023. The OpenTofu Manifesto records the change, and the community fork is now a Linux Foundation project.
How do you pick ansible vs terraform for a job posting?
The choice comes down to the verbs in the posting. Creating a network, a virtual machine, a database or a bucket points to Terraform. Configuring an operating system, patching hosts or pushing a release points to Ansible. A posting that names both is a pipeline, not a contradiction.
| If this is true of you | Pick | The number that decides it |
| You want the cheapest recognized credential this quarter | Terraform | $70.50 flat, no exam bundle |
| You want a credential with a retake built in | Ansible | First fail earns a free retake, so it costs $0 |
| You are targeting cloud-native DevOps roles | Terraform | Free tier covers 500 resources for a real lab |
| You are targeting sysadmin, platform or network automation roles | Ansible | EX294 tests practical work on a live system |
| You are learning from a tutorial written before 2026 | Check the version first | 2.19 reaches EOL Nov 2026. Learn 2.21 |
| You need a diff before you touch production cloud | Terraform | Plan output, plus GA Policy checks in 1.17 |
| Your employer will not touch Business Source License code | Ansible or OpenTofu | Terraform moved from MPL to BUSL on 2023-08-10 |
| A job posting mentions both tools | Both, in this order | Terraform provisions, then collection 2.0 hands off to Ansible |
What should you do in the next 90 days?
Whichever you pick, start with one exam. If you want the cheapest recognized credential this quarter, take the Terraform Associate exam. Its prerequisites are terminal skills and an understanding of cloud architecture. The $70.50 fee is the whole cost unless you fail.
The Terraform Associate certification cost page shows the full fee breakdown. If you want a retake built in, take the Red Hat path. A first failed attempt earns a free retake there, so one failure adds no second exam fee.
Practice before you pay. The HCP Terraform Free tier gives you 500 managed resources free. Install Ansible 2.21, not 2.19, so your lab runs a supported version.
The best DevOps certifications list shows where each exam sits in a career path. The what a DevOps engineer is guide covers the daily work behind those titles.
Photo: Elchinator, Pixabay Content License, via Pixabay (https://pixabay.com/photos/source-code-software-computer-4280758/)