From 2187c84f5246ad254ff0814fe614958f232619d7 Mon Sep 17 00:00:00 2001 From: AGibson <4319494+annajgibson@users.noreply.github.com> Date: Tue, 18 Mar 2025 09:44:33 +0000 Subject: [PATCH 1/2] Add a prefix to table in raw zone --- ...ambda-gov-notify-ingestion-housing-lbh-communal-repairs.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/etl/49-lambda-gov-notify-ingestion-housing-lbh-communal-repairs.tf b/terraform/etl/49-lambda-gov-notify-ingestion-housing-lbh-communal-repairs.tf index ce50b5230..9645c1356 100644 --- a/terraform/etl/49-lambda-gov-notify-ingestion-housing-lbh-communal-repairs.tf +++ b/terraform/etl/49-lambda-gov-notify-ingestion-housing-lbh-communal-repairs.tf @@ -96,7 +96,7 @@ resource "aws_glue_crawler" "govnotify_housing_lbh_communal_repairs_landing_zone name = "${local.short_identifier_prefix}GovNotify Housing LBH Communal Repairs Landing Zone ${each.value}" role = data.aws_iam_role.glue_role.arn tags = module.tags.values - table_prefix = "housing_lbh_communal_repairs_${each.value}_" + table_prefix = "housing_lbh_communal_repairs_${each.value}" s3_target { path = "s3://${module.landing_zone_data_source.bucket_id}/housing/govnotify/lbh_communal_repairs/${each.value}/" @@ -116,7 +116,7 @@ resource "aws_glue_crawler" "govnotify_housing_lbh_communal_repairs_raw_zone" { name = "${local.short_identifier_prefix}GovNotify Housing LBH Communal Repairs Raw Zone ${each.value}" role = data.aws_iam_role.glue_role.arn tags = module.tags.values - table_prefix = null + table_prefix = "housing_lbh_communal_repairs_${each.value}_" s3_target { path = "s3://${module.raw_zone_data_source.bucket_id}/housing/govnotify/lbh_communal_repairs/${each.value}/" From 06052ad3a1e349eb648c3795baf82c8eef36c83a Mon Sep 17 00:00:00 2001 From: AGibson <4319494+annajgibson@users.noreply.github.com> Date: Tue, 18 Mar 2025 09:45:04 +0000 Subject: [PATCH 2/2] Add a prefix to table in raw zone --- ...-lambda-gov-notify-ingestion-housing-lbh-communal-repairs.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/etl/49-lambda-gov-notify-ingestion-housing-lbh-communal-repairs.tf b/terraform/etl/49-lambda-gov-notify-ingestion-housing-lbh-communal-repairs.tf index 9645c1356..e9bb66bac 100644 --- a/terraform/etl/49-lambda-gov-notify-ingestion-housing-lbh-communal-repairs.tf +++ b/terraform/etl/49-lambda-gov-notify-ingestion-housing-lbh-communal-repairs.tf @@ -96,7 +96,7 @@ resource "aws_glue_crawler" "govnotify_housing_lbh_communal_repairs_landing_zone name = "${local.short_identifier_prefix}GovNotify Housing LBH Communal Repairs Landing Zone ${each.value}" role = data.aws_iam_role.glue_role.arn tags = module.tags.values - table_prefix = "housing_lbh_communal_repairs_${each.value}" + table_prefix = "housing_lbh_communal_repairs_${each.value}_" s3_target { path = "s3://${module.landing_zone_data_source.bucket_id}/housing/govnotify/lbh_communal_repairs/${each.value}/"