Skip to main content
HashiTalks 2025 Learn about unique use cases, homelab setups, and best practices at scale at our 24-hour virtual knowledge sharing event. Register
Presentation

Keynote: Terraform 0.13 - Doing More with Modules

One of the biggest new features of Terraform 0.13 is that "counts", "for_each", and "depends_on" can now be used on modules, not just resources.

Speakers

Modules were an abstract entity in Terraform previously. What we found was that users wanted to manipulate them like resources using count, for_each, and depends_on, but they were unable to.

Users were sometimes forced to repeatedly copy and paste modules multiple times. In this keynote session by HashiCorp co-founder Armon Dadgar, you'll learn how Terraform 0.13 made module automation a lot more streamlined, plus you'll see all the other great features Terraform 0.13 has in action.

Module Enhancements

Today, the biggest enhancement for Terraform users is the new support for module counts, foreach, dependson, and more. This is going to simplify and reduce the size of many Terraform configurations.

Learn more in the 0.13 beta guide.

Terraform Login

Helping users get from an open source on-prem deployment of Terraform to a Terraform Cloud deployment easily was very important in recent releases. Since it's release last month, Terrform Login has simplified the connection of the Terraform CLI to Terraform Cloud. This will help existing OSS users continue with their CLI workflow while making use of remote state and remote runs from Terraform Cloud.

Auto-Installation of Third-Party Providers

In the past, Terraform treated all providers as part of the HashiCorp namespace. community providers were difficult to use and install, and partner providers weren’t differentiated from HashiCorp-supported providers. Terraform could only use the HashiCorp public provider registry.

Terraform 0.13 now has required providers syntax which helps simplify the installation of community providers. This means Terraform can now distinguish between official HashiCorp-supported providers & HashiCorp partner-supported providers.

The Terraform Provider Registry now includes HashiCorp, Partner, and Community providers.

Learn More

One additional enhancement in Terraform 0.13 is Custom variable validation. To learn more about this release, read our blog announcement.

More resources like this one

3/15/2023Presentation

Advanced Terraform techniques

2/3/2023Case Study

Automating Multi-Cloud, Multi-Region Vault for Teams and Landing Zones

2/1/2023Case Study

Should My Team Really Need to Know Terraform?

1/20/2023Case Study

Packaging security in Terraform modules