Skip to content

Commit

Permalink
chore: fix local var module_name (#103)
Browse files Browse the repository at this point in the history
* chore: fix local var module_name

Signed-off-by: Darren Murray <[email protected]>

* chore: fix local var module_name

Signed-off-by: Darren Murray <[email protected]>

---------

Signed-off-by: Darren Murray <[email protected]>
  • Loading branch information
dmurray-lacework authored Feb 13, 2024
1 parent 01209a8 commit f887e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ locals {
)
diagnostic_settings_name = var.use_existing_diagnostic_settings ? var.diagnostic_settings_name : "${var.prefix}-${var.diagnostic_settings_name}-${random_id.uniq.hex}"
version_file = "${abspath(path.module)}/VERSION"
module_name = basename(abspath(path.module))
module_name = "terraform-azure-activity-log"
module_version = fileexists(local.version_file) ? file(local.version_file) : ""
}
Expand Down

0 comments on commit f887e96

Please sign in to comment.