Skip to content

gitlab: Revert resource name changes

Dduvall requested to merge review/revert-gitlab-resource-name-changes into main

Terraform cannot seem to handle changing the namespace resource name. It will delete the formerly named resource and attempt to recreate it but not in the right order.


│ Error: namespaces "gitlab-runner" already exists

│   with module.gitlab.kubernetes_namespace.runner,
│   on gitlab/main.tf line 2, in resource "kubernetes_namespace" "runner":
│    2: resource "kubernetes_namespace" "runner" {

Revert the resource name changes before deployment to production to minimize impact.

Bug: T345000

Merge request reports