cloud-infrastructure/terraform/modules/kubernetes/hm_kubernetes_namespace/main.tf
terraform {
required_providers {
kubernetes = {
source = "hashicorp/kubernetes"
}
}
}
# https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/namespace
resource "kubernetes_namespace" "main" {
metadata {
name = var.kubernetes_namespace
labels = var.labels
}
}