diff --git a/main.tf b/main.tf index 9e789fe..ac91c07 100644 --- a/main.tf +++ b/main.tf @@ -14,7 +14,7 @@ locals { gar_apis = var.required_gar_apis version_file = "${abspath(path.module)}/VERSION" - module_name = basename(abspath(path.module)) + module_name = "terraform-gcp-gar" module_version = fileexists(local.version_file) ? file(local.version_file) : "" } @@ -95,4 +95,4 @@ resource "lacework_integration_gar" "default" { data "lacework_metric_module" "lwmetrics" { name = local.module_name version = local.module_version -} \ No newline at end of file +}