Terraform Module Loading: How to load modules from different sources
Introduction Terraform, an open-source infrastructure as code software tool created by HashiCorp, allows users to define and provision data center infrastructure using a high-level configuration language known as…
Terraform Module Inputs and Outputs: A Complete Guide (with examples)
Introduction Terraform by HashiCorp is a potent tool for building, changing, and versioning infrastructure efficiently. It uses configuration files to manage and provision the infrastructure. One of its…
Terraform & AWS: How to deploy a load balancer
Introduction In this tutorial, we’ll explore how to deploy a load balancer in AWS using Terraform. Terraform, an open-source IaC (Infrastructure as Code) tool created by HashiCorp, empowers…
Terraform: How to generate passwords
Introduction Terraform, a powerful tool created by HashiCorp, is synonymous with infrastructure as code (IaC). It allows for the provisioning and management of infrastructure through code. An essential…
How to generate random values in Terraform
Introduction Generating random values in Terraform can be a critical aspect when provisioning infrastructure, ensuring that names, passwords, or any other sensitive information remain unpredictable and secure. Terraform,…
How to write conditional logic in Terraform
Introduction Terraform, by HashiCorp, is a tool that allows for the definition, preview, and deployment of infrastructure as code. The tool utilizes a declarative configuration language known as…
Using YAML with Terraform: A Practical Guide (with examples)
Introduction YAML, a human-friendly data serialization standard, is widely used for configuration files in software applications. Terraform, on the other hand, is an immensely popular infrastructure as code…
How to use outputs to expose Terraform provisioned resources
Introduction Terraform, a popular infrastructure as code tool, enables engineers to define and provision infrastructure through code. An essential feature within Terraform is the use of outputs, which…
How to use local variables to simplify your Terraform code
Introduction Streamlining Terraform code is essential for developing robust, manageable, and scalable infrastructure as code (IaC) solutions. This tutorial delves into the strategic use of local variables to…
Terraform: Store and retrieve secrets the right way (4 approaches)
Introduction Managing secrets securely is an essential aspect of infrastructure as code, especially when working with Terraform. This tutorial aims to guide you through the best practices of…