On-Premises Deployment Considerations
GitOps with GitLab: Infrastructure provisioning with GitLab and Terraform

GitOps with GitLab: Infrastructure provisioning with GitLab and Terraform

11/4/2021 · Viktor Nagy

What this post added

This post details the practical implementation of GitOps using GitLab and Terraform for infrastructure provisioning. It covers creating a network and setting up a Kubernetes cluster using Civo, with a focus on infrastructure as code (IaC) principles. The post explains how to configure Terraform to use the GitLab managed Terraform state backend, both for local execution (using direnv and environment variables) and within a GitLab CI/CD pipeline. It also outlines the structure of Terraform projects, separating concerns like network and cluster setup, and discusses best practices for managing Terraform state and configurations.

Read the original post ↗