Proxmox

Automate GitLab + Terraform (state file, and more)



Wazuh, the open-source security platform:

In this video, I’ll be diving into my self-hosted GitLab platform and how I use it to manage all my HomeLab projects. I’ll show you how I’ve automated my project management with GitLab and Terraform, making it easier to handle everything without the hassle of manual UI management. We’ll explore two key integrations: using the Terraform Provider for configuring GitLab resources and leveraging GitLab as a backend for Terraform state files. Join me as I walk you through the setup and functionality of this powerful combination!

References

– WATCH THIS ON PATREON:
– Terraform Tutorial:
– Terraform + Kubernetes:
– Terraform + Proxmox:
– Terraform + DNS:

________________

💜 Support me and become a Fan!

💬 Join our Community!

👉 Follow me everywhere

________________

Read my Tech Documentation

My Gear and Equipment

________________

Timestamps

00:00 Introduction
02:29 Terraform Overview
03:37 Manage GitLab Resources
10:10 Change Values, GitLab Groups
15:10 Import GitLab Resources
17:22 State File challenges and problems
21:09 Manage State File in GitLab
27:27 Final thoughts

________________
Links can include affiliate links.

[ad_2]

source

Related Articles

18 Comments

  1. Great exercise for building skills in this particular tool, but for this use-case overkill. It's also important to judge whats overkill in a work environment. There are more ways to Rome. Awesome tutorial and demo though.

  2. 20:09 – in the past you've been using Terraform Cloud for this, but thought it would be much more amazing to use GitLab ?
    Actually 2 months ago in the comments under video about Semaphore UI, I've suggested you to use GitLab for storing tfstate. And you said you'll check it out.
    But apparently it's a whole new idea of yours 😀 What a coincidence.

    Another idea to borrow: setting up a GitLab instance through Terraform from scratch, but Terraform is executed on GitLab CI runners (self-hosted or cloud).
    Classical chicken-egg problem, similar to setting up ArgoCD on a cluster managed by ArgoCD.
    That's going to be fun one :p

  3. I would love to see how you do proxmox provisioning. i hate the telmate/proxmox provider because it feels so limiting as the values you provide arent the same ones you get out.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button