diff --git a/main.tf b/main.tf index 6e0cdeb..818d039 100644 --- a/main.tf +++ b/main.tf @@ -16,7 +16,7 @@ locals { s3_lambda_key = "${var.cf_s3_prefix}/lambda/${local.lambda_zip}" template_url = "https://s3.amazonaws.com/${var.cf_s3_bucket}/${var.cf_s3_prefix}/templates/1.0.0/lacework-aws-cfg-member.template.yml" version_file = "${abspath(path.module)}/VERSION" - module_name = basename(abspath(path.module)) + module_name = "terraform-aws-org-configuration" module_version = fileexists(local.version_file) ? file(local.version_file) : "" } @@ -421,4 +421,4 @@ resource "aws_cloudformation_stack_set_instance" "lacework_stackset_instances" { data "lacework_metric_module" "lwmetrics" { name = local.module_name version = local.module_version -} \ No newline at end of file +}