Category Terraform

Terraform: bash scripts to initialize and apply infrastructure

When managing infrastructure with Terraform across multiple environments and multiple workspaces the setup can become repetitive and error-prone. In these situations you could utilize Terraform bash scripts automation to initialize and apply infrastructure. Is there a need for scripts? Sometimes…

Terraform Implicit vs Explicit Dependencies

Understanding Dependencies in Terraform In this blog post you will see examples for both and also understand differences between Terraform Implicit vs Explicit Dependencies. When defining infrastructure in Terraform, resources often rely on each other. There are two ways of…

Terraform input validation

When managing infrastructure with Terraform you will for sure use variable which play crucial role for environment specific configurations. Sometimes human errors may happen and variables values can lead to certain issues. Meaning if you do not use Terraform input…

Terraform variables vs locals

Even though both variables and locals allow you to define values in Terraform code, they serve specific purposes, have different scopes, mutability and of course use cases. When organization and infrastructure are growing it is very important to manage those…

Terraform Using Dynamic Blocks and for_each

In Terraform proper usage of dynamic blocks, for_each and conditionals allow you to build adaptable and reusable infrastructure configurations. In this blog, you will see practical examples of how to use these features to simplify complex setups and manage multi-environment deployments efficiently and flexibly.…

Terraform When and How to Use terraform remote state

When dealing with multiple Terraform configurations, it becomes essential to manage dependencies between them. This is where terraform_remote_state comes into play. In this blog post, Terraform when and how to Use terraform remote state, we will dive into the advantages…

Terraform manage secrets with SOPS

Securing sensitive data, such as Database connection details, API keys, access tokens etc., is crucial in any infrastructure project. This blog post, Terraform manage secrets with SOPS, explores how to handle them by utilizing SOPS (Secrets OPerationS), a tool for…