From c1f45d4e1857371f86694bf07c85d88a2ba4019c Mon Sep 17 00:00:00 2001 From: Agustin Celentano <12614595+agustincelentano@users.noreply.github.com> Date: Tue, 21 Apr 2026 10:06:31 -0300 Subject: [PATCH] chore: remove unused nrn variable from base module The nrn variable was declared but never consumed by any resource. Its only reference computed nrn_without_namespace in locals.tf, which was not used anywhere else in the module. --- nullplatform/base/locals.tf | 3 --- nullplatform/base/variables.tf | 5 ----- 2 files changed, 8 deletions(-) diff --git a/nullplatform/base/locals.tf b/nullplatform/base/locals.tf index 3b576323..85dc3a96 100644 --- a/nullplatform/base/locals.tf +++ b/nullplatform/base/locals.tf @@ -1,7 +1,4 @@ locals { - # (optional) if you’re still using it elsewhere - nrn_without_namespace = join(":", slice(split(":", var.nrn), 0, 2)) - nullplatform_base_values = templatefile( "${path.module}/templates/nullplatform_base_values.tmpl.yaml", { diff --git a/nullplatform/base/variables.tf b/nullplatform/base/variables.tf index af5c91b4..bd001734 100644 --- a/nullplatform/base/variables.tf +++ b/nullplatform/base/variables.tf @@ -10,11 +10,6 @@ variable "namespace" { default = "nullplatform-tools" } -variable "nrn" { - description = "The Nullplatform Resource Name (NRN)." - type = string -} - variable "np_api_key" { type = string sensitive = true