From 24dd9df38ea7b6b8e8cc59fa907fe9666ff2ac2e Mon Sep 17 00:00:00 2001 From: Darren Murray Date: Tue, 23 Jan 2024 16:35:05 +0000 Subject: [PATCH] chore: set local var module name Signed-off-by: Darren Murray --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index e511701..cc717c7 100644 --- a/main.tf +++ b/main.tf @@ -6,7 +6,7 @@ locals { length(var.lacework_audit_policy_name) > 0 ? var.lacework_audit_policy_name : "lwaudit-policy-${random_id.uniq.hex}" ) version_file = "${abspath(path.module)}/VERSION" - module_name = basename(abspath(path.module)) + module_name = "terraform-aws-config" module_version = fileexists(local.version_file) ? file(local.version_file) : "" }