Tag "Terraform"

Ship Rancher API Audit Logs from AKS clusters

As reader of my blog you know we are using Rancher logging app. While we migrated the Rancher (Upstream) cluster from RKE to AKS, we cannot use the built in log collection and shipping for audit logs.

External Secrets Operator and Azure Identity Workload

Azure AD Workload Identity allows you the use of a Managed Identity to access resources in Azure

Terraform complains with "EvalSymlinks: too many links" when on a Windows roaming profile

Working with terraform on Windows can be a pain, even more when using

Terraform secrets with SOPS and Azure Keyvault

We are heavily using Terraform and and also Azure. However until now, we left out certain things cause they contain secrets which we don't want to expose in the code. SOPS is a nice solution to solve that problem and keep things together what belongs together.

Improvement of Atlantis workflow with azure by setting no_proxy automatically

While we are using Atlantis to to deploy changes to the Cloud infrastructure, we had the issue, that after each new setup we had to re-deploy the atlantis instance, cause we had to extend the no_proxy environment variable.

Git-hooks - a practical example with tf docs

You are working on terraform code and want to ensure your documentation is updated after you made some changes. Why don't you use git-hooks for that?

Manage AlertmanagerConfigs in Rancher Projects using Terraform

When using Prometheus monitoring stack, Alertmanager is an essential part of the monitoring, while responsible to send alerts. I explain here how I manage, the respective configuration using Terraform.

Manage Rancher Projects in Terraform

While working on managing our Rancher clusters is the management of Rancher projects. I want to talk about the approach I have taken, which may be useful to you as well.

OPA Gatekeeper Metrics and Grafana Dashboard

Now, as we have installed OPA Gatekeeper in our clusters successfully, I wonder how to get metrics in Prometheus and show them in Grafana Dashboard

Filter out elements from a json object in in Terraform

We would like to manage our own Azure Policy Initiatives with Terraform. Our own initatives shall be based on existing ones, but without deprecated policies.

Gitlab and Terraform together

My source code repository for private stuff is Gitlab and while working with Terraform, I want to have the state store remotely rather than locally. What are the options?

Importing terraform resources using Atlantis

Using atlantis to apply changes on existing works great, but how you deal with importing of exiting resources? Let me explain what is the issue, and how I solved it.

Manage Terraform with Atlantis in a restricted environment

While we started to use Terraform to manage our Rancher clusters, we started to manually run the terraform commands. This is not the way to go, so we started to look into solutions, starting with Atlantis.

Import a Rancher apps and Kubernetes manifest into Terraform

While initially setting up our Rancher clusters manually, we started to use Terraform, which simplifies the management of the clusters tremendously.

Import existing resources to Terraform

When working with Terraform, the changes are good that you are not starting from scratch, but you already have something setup previously and now want to manage it with Terraform

Terraform and Hetzner Cloud

While I had already looked into Terraform in the past, I am actually pretty new to it, and just started now to take a better look at it and working with it

Infrastructure as Code (IaC) and Terraform

While I am am huge fan of Ansible not everything can be done out of the box. My issue particularly is the configuration of Cloudflare, which I still do via the Web UI.