From 3c530f831ae420580874f46a62170e1b49ce66af Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Tue, 30 Jul 2024 17:41:26 -0400 Subject: [PATCH] formatting --- README.md | 5 ++++- main.tf | 6 +++--- outputs.tf | 15 ++++++++++++++- version.tf | 3 +-- 4 files changed, 22 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 9275fee..5df53f8 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,10 @@ to loki. # CHANGELOG - +* 0.0.2 -- 2024-07-30 + - update images module + - formatting + - fix for tags * 0.0.1 -- 2024-07-22 - updated version.tf to 0.0.1 - included module.images in depends on helm charts diff --git a/main.tf b/main.tf index e39b7d6..45a8a59 100644 --- a/main.tf +++ b/main.tf @@ -30,7 +30,7 @@ locals { "boc:tf_module_version" = local._module_version "boc:created_by" = "terraform" CostAllocation = var.tag_costallocation - }, var.additional_tags) + }, var.tags) ns = try(kubernetes_namespace.ns[0].metadata[0].name, data.kubernetes_namespace.existing-ns[0].metadata[0].name) } @@ -67,8 +67,8 @@ resource "helm_release" "loki" { name = "loki" namespace = local.ns repository = "https://grafana.github.io/helm-charts" - timeout = 900 - wait = true + timeout = 900 + wait = true ##### Globals ##### set { diff --git a/outputs.tf b/outputs.tf index 158d38c..fc88094 100644 --- a/outputs.tf +++ b/outputs.tf @@ -1,6 +1,6 @@ output "rwo_storage_class" { description = "Specify the storage class for read/write/once persistent volumes." - value = var.rwo_storage_class + value = var.rwo_storage_class } output "gateway_internal_endpoint" { @@ -11,3 +11,16 @@ output "gateway_internal_endpoint" { url = local.gateway_internal_url } } +################################################################################ +# Module information +################################################################################ + +output "module_name" { + description = "The name of this module." + value = local._module_name +} + +output "module_version" { + description = "The version of this module." + value = local._module_version +} diff --git a/version.tf b/version.tf index f35fe4c..8d88b94 100644 --- a/version.tf +++ b/version.tf @@ -1,5 +1,4 @@ locals { _module_name = "tfmod-loki" - _module_version = "0.0.1" - _module_providers = ["helm", "kubernetes"] + _module_version = "0.0.2" }