Skip to content

Commit 879a7b8

Browse files
authored
Merge branch 'main' into di-447-update-data-quality-tests
2 parents 8f6b453 + 0fdb5dc commit 879a7b8

File tree

2 files changed

+26
-4
lines changed

2 files changed

+26
-4
lines changed

terraform/etl/08-google-sheets-imports.tf

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -948,3 +948,25 @@ module "parking_cycle_hangar_manual_waiting_list" {
948948
google_sheet_import_schedule = "cron(0 4 ? * * *)"
949949
spark_ui_output_storage_id = module.spark_ui_output_storage_data_source.bucket_id
950950
}
951+
952+
module "diplomatic_country_vrm_prefix_data_load" {
953+
count = local.is_live_environment ? 1 : 0
954+
source = "../modules/google-sheets-glue-job"
955+
is_production_environment = local.is_production_environment
956+
identifier_prefix = local.short_identifier_prefix
957+
is_live_environment = local.is_live_environment
958+
glue_scripts_bucket_id = module.glue_scripts_data_source.bucket_id
959+
helper_module_key = data.aws_s3_object.helpers.key
960+
pydeequ_zip_key = data.aws_s3_object.pydeequ.key
961+
glue_catalog_database_name = module.department_parking_data_source.raw_zone_catalog_database_name
962+
glue_temp_storage_bucket_url = module.glue_temp_storage_data_source.bucket_url
963+
glue_crawler_excluded_blobs = local.glue_crawler_excluded_blobs
964+
google_sheets_import_script_key = aws_s3_object.google_sheets_import_script.key
965+
bucket_id = module.raw_zone_data_source.bucket_id
966+
google_sheets_document_id = "1ui4i40sEp_wVlxVjcOhcQnhp2ucPpAQ9hALGJ7K76i0"
967+
google_sheets_worksheet_name = "diplomatic_country_vrm_prefix_data_load"
968+
department = module.department_parking_data_source
969+
dataset_name = "diplomatic_country_vrm_prefix_data_load"
970+
google_sheet_import_schedule = "cron(0 4 * * 1)"
971+
spark_ui_output_storage_id = module.spark_ui_output_storage_data_source.bucket_id
972+
}

terraform/etl/09-spreadsheet-imports-from-g-drive.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -747,11 +747,11 @@ module "bailiff_return" {
747747
landing_zone_bucket_id = module.landing_zone_data_source.bucket_id
748748
landing_zone_kms_key_arn = module.landing_zone_data_source.kms_key_arn
749749
landing_zone_bucket_arn = module.landing_zone_data_source.bucket_arn
750-
google_drive_document_id = "1vV_DAzaPk-QfsUAa7qIWkuEqFAiCyDG_"
750+
google_drive_document_id = "1M6tYUhEgrz7VeSXwBiZONm6K7h7993Uo"
751751
glue_job_name = "bailiff_return"
752752
output_folder_name = "g-drive"
753753
raw_zone_bucket_id = module.raw_zone_data_source.bucket_id
754-
input_file_name = "bailiff_return/Bailiff_return @ 30-10-2024.csv"
754+
input_file_name = "bailiff_return/Bailiff_return @ 02-12-2024.csv"
755755
ingestion_schedule = "cron(0 21 * * ? *)"
756756
enable_bookmarking = true
757757
worksheets = {
@@ -782,11 +782,11 @@ module "bailiff_allocation" {
782782
landing_zone_bucket_id = module.landing_zone_data_source.bucket_id
783783
landing_zone_kms_key_arn = module.landing_zone_data_source.kms_key_arn
784784
landing_zone_bucket_arn = module.landing_zone_data_source.bucket_arn
785-
google_drive_document_id = "1FBY6mmfrNPD9Wzo2njqxNHvfU78AC3CS"
785+
google_drive_document_id = "1qxVzla3QRUu5B-WvPG6TVxK27rcVkAIL"
786786
glue_job_name = "bailiff_allocation"
787787
output_folder_name = "g-drive"
788788
raw_zone_bucket_id = module.raw_zone_data_source.bucket_id
789-
input_file_name = "bailiff_allocation/Bailiff Allocation @ 30-10-2024.csv"
789+
input_file_name = "bailiff_allocation/Bailiff Allocation @ 02-12-2024.csv"
790790
ingestion_schedule = "cron(0 21 * * ? *)"
791791
enable_bookmarking = true
792792
worksheets = {

0 commit comments

Comments
 (0)