Skip to content

Commit 3bb5790

Browse files
Merge pull request #2001 from LBHackney-IT/barnesm707-patch-9
Update 09-spreadsheet-imports-from-g-drive.tf
2 parents 721130c + 017d75f commit 3bb5790

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

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

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -971,3 +971,38 @@ module "Ringgo_MC_Locations" {
971971
}
972972
}
973973
}
974+
module "interim_cycle_wait_list" {
975+
count = local.is_live_environment ? 1 : 0
976+
source = "../modules/import-spreadsheet-file-from-g-drive"
977+
is_production_environment = local.is_production_environment
978+
is_live_environment = local.is_live_environment
979+
department = module.department_parking_data_source
980+
glue_scripts_bucket_id = module.glue_scripts_data_source.bucket_id
981+
glue_catalog_database_name = module.department_parking_data_source.raw_zone_catalog_database_name
982+
glue_temp_storage_bucket_id = module.glue_temp_storage_data_source.bucket_url
983+
spark_ui_output_storage_id = module.spark_ui_output_storage_data_source.bucket_id
984+
secrets_manager_kms_key = data.aws_kms_key.secrets_manager_key
985+
glue_role_arn = data.aws_iam_role.glue_role.arn
986+
helper_module_key = data.aws_s3_object.helpers.key
987+
pydeequ_zip_key = data.aws_s3_object.pydeequ.key
988+
jars_key = data.aws_s3_object.jars.key
989+
spreadsheet_import_script_key = aws_s3_object.spreadsheet_import_script.key
990+
identifier_prefix = local.short_identifier_prefix
991+
lambda_artefact_storage_bucket = module.lambda_artefact_storage_data_source.bucket_id
992+
landing_zone_bucket_id = module.landing_zone_data_source.bucket_id
993+
landing_zone_kms_key_arn = module.landing_zone_data_source.kms_key_arn
994+
landing_zone_bucket_arn = module.landing_zone_data_source.bucket_arn
995+
google_drive_document_id = "1ObXnGJmYS04j1-lBQiz3-kSwuP5BvXFz"
996+
glue_job_name = "interim_cycle_wait_list"
997+
output_folder_name = "g-drive"
998+
raw_zone_bucket_id = module.raw_zone_data_source.bucket_id
999+
input_file_name = "Interim_Cycle_Hangar_Wait_List/Cycle Hangar Waiting List @ 19-11-2024.csv"
1000+
ingestion_schedule = "cron(0 21 * * ? *)"
1001+
enable_bookmarking = true
1002+
worksheets = {
1003+
sheet1 : {
1004+
header_row_number = 0
1005+
worksheet_name = "Cycle Hangar Waiting List"
1006+
}
1007+
}
1008+
}

0 commit comments

Comments
 (0)