VOOZH about

URL: https://thenewstack.io/hashicorp-hears-users-rolls-out-new-testing-qa-tools-for-terraform/

⇱ HashiCorp Hears Users, Rolls out New Testing/QA Tools for Terraform - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2023-10-12 08:12:50
HashiCorp Hears Users, Rolls out New Testing/QA Tools for Terraform
DevOps / Infrastructure as Code / Software Testing

HashiCorp Hears Users, Rolls out New Testing/QA Tools for Terraform

HashiCorp introduces the Terraform Test Framework and other new additions to the Terraform platform.
Oct 12th, 2023 8:12am by Chris J. Preimesberger
👁 Featued image for: HashiCorp Hears Users, Rolls out New Testing/QA Tools for Terraform
Featured image via Unsplash.

SAN FRANCISCO – HashiCorp, one of the world’s leading purveyors of infrastructure-as-a-service software, manages the Terraform open source project. It knows how important the testing, standardization and QA portions of the process are so all those complicated connections work as they should. Thus, these items comprise headline news of this year’s HashiConf 2023 conference here.

The 11-year-old San Francisco-based company on Oct. 11 previewed several key new additions to the Terraform platform and Terraform Cloud, products and services that continue to gain market share on an annual basis — thanks largely to the company’s free community edition and open source roots. Some are ready for use this week, others are in various stages of development. They are:

  • Terraform Test Framework (GA now) helps produce higher-quality modules. Automates unit and integration testing of Terraform code; provides an integrated workflow to publish modules to the private registry. Key announcements include AI-generated tests for HashiCorp Terraform Cloud, the debut of HCP Vault Radar, HCP Vault Secrets, HCP Consul Central, and HCP Waypoint templates. For Terraform Cloud, large language models (LLMs) generate tests for a module on behalf of the user, allowing module authors to start writing tests faster than previously.
  • Terraform stacks (private preview only at the conference): Major enhancement to the Terraform execution engine that enables complex deployments across multiple environments across modular infrastructure components.
  • Terraform enhanced editor validation (GA now): Automatically validates Terraform code, including copying/pasting from AI tooling or using IDE-integrated tools, such as GitHub Copilot or Amazon CodeWhisperer.
  • Test-integrated module publishing (beta) streamlines the testing and publishing process.
  • Generated module tests (beta) help module authors get started fast.
  • Terraform Cloud ephemeral workspaces (GA now): Helps manage the cleanup of unused resources accumulated over time to optimize cloud costs. Also available in Terraform Enterprise.

For those new to this IT sector, Terraform is a popular open source tool that enables users to define, provision, and manage infrastructure as code. Terraform can be used to provision and manage a wide range of infrastructure resources, including servers, storage, networking, and applications. Terraform providers are plugins that allow Terraform to interact with various cloud providers, APIs, services and other systems that Terraform doesn’t natively support out of the box.

Ultimately, the main message at HashiConf is all about provisioning data resources effectively, cost-efficiently and in a set-it-once automated fashion.

“This Terraform Test Framework is brand new and pretty interesting,” Chris Van Wesep, HashiCorp Sr. Director of Product Marketing, told The New Stack. “Workspaces are the area of work most teams operate in with Terraform. So many customers were saying: ‘I know I’m wasting money in the clouds. I don’t know exactly where, but I know.’ Part of that is from resources that have been provisioned but forgotten. A lot of them are dead, such as dev-test environments that get set up, the owner moves on, and afterward, nobody knows what’s running on this thing that’s out there consuming resources.”

Terraform Test Framework can now identify these leakages, notify the workspace owner, and then pull back the resources as the process is shut down — all in automated processes. This new tool is open to general availability at this week’s event, Van Wesep said.

The Test Framework, introduced in Terraform 1.6, gives developers tools to perform unit and integration testing of Terraform code. Module authors generally adopt the test framework quickly because it is written in HCL (HashiCorp language) and uses a structure similar to Terraform configurations.

Terraform Tests Enable High-Quality, Reliable Code Modules

Modules are the most utilized way Terraform users standardize their infrastructure provisioning, so it is crucial to have high-quality, reliable ones, Van Wesep said.

“One of the nice things about Terraform is the ability to write code once and then have multiple teams use it as needed,” Van Wesep said. “And the way that most large organizations really amplify that is through the concept of modules. So they’ll say, ‘This little chunk of activity is a very repeatable process, so we’ll create a module for it that we’ll publish to our registry.’ Then any team that needs to execute it can just go and call the module and it’ll pull into their code set and execute. If you go to the Terraform registry, you’ll see public modules that have already been created, where people said, ‘Well, this is a generally useful thing to be able to do. So let me just write the code for it, share it with people and let them use it.'”

A bug in a module’s code can cause outages, compliance breaches, or open security holes — and not just once, but every time it’s reused. And if a bug is democratized throughout an ecosystem, woe is the dev team. Without a testing framework, this quality-control process can be slow and laborious. Sometimes testing is skipped altogether, which is not something IT managers want to find out.

The Terraform development community has built several popular testing tools, but they often use full programming languages such as Ruby or Go. For a while, HashiCorp wanted to bring native testing to Terraform using HashiCorp Configuration Language (HCL), removing the need for context switching or additional learning.

In the recent 2023 State of IaC Report, it was found that 90% of cloud users are using Infrastructure as Code (IaC). However, due to the preponderance of open source tools available, it’s difficult to pin down where HashiCorp pays in the open market. According to Synergy Research Group, the global IaaS market was worth $132 billion in 2022. AWS is the leading IaaS provider with a market share of 33%, followed by Microsoft Azure with 21% and Google Cloud Platform with 10%. HashiCorp’s market share in the IaaS market is difficult to estimate, but it is smaller than the top 3 at this point.

Other popular IaC tools include Ansible, Chef and Puppet. HashiCorp does not own a proven percentage of the IaaS market, but its tools are used by many organizations to manage their IaaS deployments.

TRENDING STORIES
Chris J. Preimesberger, a contributing writer/editor at several publications since June 2021, is former editor in chief of eWEEK. He was responsible for the publication's coverage for a decade (2011-2021). In his 16 years and more than 5,000 articles at...
Read more from Chris J. Preimesberger
SHARE THIS STORY
TRENDING STORIES
AWS and HashiCorp are sponsors of The New Stack.
TNS owner Insight Partners is an investor in: Enable.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.