What do you know about Terraform modules?
Terraform is a basic programming language and there aren’t a lot of functions you can use in this particular language. What it does have, however, is Modules. Try to see these as some kind of method you can use. The real definition of Terraform Modules is actually a container for multiple resources that are used together.
Let’s code!
The first way to use Terraform Modules is to search for modules that have already been created on the internet. HashiCorp has a registry where you can find Terraform Providers and Modules. The site is https://registry.terraform.io/. You can find the the right configuration and providers you need on this site. If you would like to use the Azure provider version 2.36.0 in your terraform code for example, you will need to use the next configuration in your .tf files.
Are you ready to code? Read the full tutorial on our blog!