@@ -1395,3 +1395,39 @@ module "Whyte_Weekly_Data" {
13951395 }
13961396 }
13971397}
1398+ module "smt_dashboard_link" {
1399+ count = local. is_live_environment ? 1 : 0
1400+ source = " ../modules/import-spreadsheet-file-from-g-drive"
1401+ is_production_environment = local. is_production_environment
1402+ is_live_environment = local. is_live_environment
1403+ department = module. department_parking_data_source
1404+ glue_scripts_bucket_id = module. glue_scripts_data_source . bucket_id
1405+ glue_catalog_database_name = module. department_parking_data_source . raw_zone_catalog_database_name
1406+ glue_temp_storage_bucket_id = module. glue_temp_storage_data_source . bucket_url
1407+ spark_ui_output_storage_id = module. spark_ui_output_storage_data_source . bucket_id
1408+ secrets_manager_kms_key = data. aws_kms_key . secrets_manager_key
1409+ glue_role_arn = data. aws_iam_role . glue_role . arn
1410+ helper_module_key = data. aws_s3_object . helpers . key
1411+ pydeequ_zip_key = data. aws_s3_object . pydeequ . key
1412+ jars_key = data. aws_s3_object . jars . key
1413+ spreadsheet_import_script_key = aws_s3_object. spreadsheet_import_script . key
1414+ identifier_prefix = local. short_identifier_prefix
1415+ lambda_artefact_storage_bucket = module. lambda_artefact_storage_data_source . bucket_id
1416+ landing_zone_bucket_id = module. landing_zone_data_source . bucket_id
1417+ landing_zone_kms_key_arn = module. landing_zone_data_source . kms_key_arn
1418+ landing_zone_bucket_arn = module. landing_zone_data_source . bucket_arn
1419+ google_drive_document_id = " 1oQEdv8mMcT90HlQlnaO6zbMcyRAj_3sq"
1420+ glue_job_name = " smt_dashboard_link"
1421+ output_folder_name = " g-drive"
1422+ raw_zone_bucket_id = module. raw_zone_data_source . bucket_id
1423+ input_file_name = " smt_button/smt_dashboard_link.csv"
1424+ ingestion_schedule = " cron(0 21 * * ? *)"
1425+ enable_bookmarking = true
1426+ tags = module. tags . values
1427+ worksheets = {
1428+ sheet1 : {
1429+ header_row_number = 0
1430+ worksheet_name = " smt_dashboard_link"
1431+ }
1432+ }
1433+ }
0 commit comments