How to move Terraform root module state inside other root moduleI ran into the problem that I wanted to make an existing root module (I'll call this source) a child module of another root module (I'll call this destination). Both modules used a remote state backend. In my case a GCP storage bucket. Example Let's ...Aug 3, 2021 · 4 min readthoeny.dev
GitLab CI: Docker in Docker (DinD) on gitlab.com Shared RunnersHow to run DinD jobs on gitlab.com Shared Runners Gitlab provides shared runners for the repositories that are hosted on gitlab.com: https://docs.gitlab.com/ee/ci/runners/README.html#shared-runners You can run Docker commands inside a job by selecti...Apr 9, 2021 · 1 min readthoeny.dev
GitLab CI: Security Scan using KICSScan Kubernetes, Helm, Terraform, Docker, Ansible & AWS CloudFormation Code for security vulnerabilities, compliance issues & misconfigurations Licensed under Apache License 2.0 KICS is a security scanner for a range of IaC (Infrastructure as Code) t...Apr 9, 2021 · 1 min readthoeny.dev
Create a private GCP Kubernetes cluster using TerraformIn this article, I want to share how I approached creating a private Kubernetes (GKE) cluster in Google Cloud Platform (GCP). Target infrastructure To get an overview - this is the target infrastructure we’re aiming for: A GKE cluster with Linux Wor...Apr 9, 2021 · 8 min readthoeny.dev
How to debug in TerraformTerraform (currently) does not provide any functionality that could be compared to a var_dump() function like the PHP programming language has it for example. Or a debugger of any kind. However, there are a few options to get more insights about what...Mar 9, 2021 · 4 min readthoeny.dev