Category Terraform

Creating an AWS ECS Service with Fargate, ECS Exec, and Terraform

Amazon Elastic Container Service (ECS) is a fully managed container orchestration service that simplifies deploying, managing, and scaling containerized applications. AWS Fargate, a serverless compute engine for containers, eliminates the need to manage underlying infrastructure. ECS Exec enables secure command…

What is Terraform State

Terraform is a tool for building, changing, and versioning infrastructure. One of the core concepts of Terraform is the “state file,” which keeps track of the resources that Terraform manages. The Terraform state file is a JSON file that stores…

Use a Terraform template in Gitlab Pipeline

Overview In GitLab, templates can be used in pipelines to simplify the process of creating a pipeline. Templates are essentially predefined scripts that can be reused across multiple pipelines, making it easier to maintain and manage pipelines across an organization.…

Terraform vs Cloudformation vs ARM Templates

Here is a quick comparison of these Infrastructure as Code (IaC) tools: Terraform Cloudformation ARM Template Supported Cloud Providers Terraform supports multiple cloud providers like AWS, Azure, Google Cloud Platform (GCP), and others. AWS CloudFormation supports only AWS cloud infrastructure.…

Terraform “for_each” loops

Terraform is a great tool for writing Infrastructure as Code. However, there are times that it can be frustrating, especially when using loops to generate multiple resources, and then generating something like an output resource. Add in maps and custom…