Category Terraform

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…

Terraform Managing Multi-Region Database Backups in AWS

Ensuring data durability and resilience is an essence of robust infrastructure design. While it’s common to configure backups within a single region where the data resides, certain compliance or business requirements might demand multi-region backups. This blog, Terraform Multi-Region Database…

Terraform Use Template file for AWS CodeDeploy AppSpec file

Terraform template file, often written in JSON or YAML, is file that is used to create dynamic content by various inputs. Using template file you can make deployments easier and more consistent. For this example we will use AWS CodeDeploy…

Terraform Template file with loops for Dynamic Resource Management

Template files combined with loops provide powerful way to handle repetitive configurations dynamically, reducing complexity, errors and improving consistency. This blog is will explain how to use Template file with loops. The Use Case Imagine you need to manage infrastructure…

Terraform Steps to create complete AWS S3 module

Terraform module is used to simplify process of organizing and reusing terraform code. Essentially module is a container for multiple resources logically connected and which are used together. This blog post will explain Terraform complete AWS S3 module When to…