Skip to content

Commit 6ddcaba

Browse files
authored
Update 09-spreadsheet-imports-from-g-drive.tf (#2230)
1 parent 653aae8 commit 6ddcaba

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,3 +1222,39 @@ module "parking_permit_by_emmission_band" {
12221222
}
12231223
}
12241224
}
1225+
module "ops_dashboard_link" {
1226+
count = local.is_live_environment ? 1 : 0
1227+
source = "../modules/import-spreadsheet-file-from-g-drive"
1228+
is_production_environment = local.is_production_environment
1229+
is_live_environment = local.is_live_environment
1230+
department = module.department_parking_data_source
1231+
glue_scripts_bucket_id = module.glue_scripts_data_source.bucket_id
1232+
glue_catalog_database_name = module.department_parking_data_source.raw_zone_catalog_database_name
1233+
glue_temp_storage_bucket_id = module.glue_temp_storage_data_source.bucket_url
1234+
spark_ui_output_storage_id = module.spark_ui_output_storage_data_source.bucket_id
1235+
secrets_manager_kms_key = data.aws_kms_key.secrets_manager_key
1236+
glue_role_arn = data.aws_iam_role.glue_role.arn
1237+
helper_module_key = data.aws_s3_object.helpers.key
1238+
pydeequ_zip_key = data.aws_s3_object.pydeequ.key
1239+
jars_key = data.aws_s3_object.jars.key
1240+
spreadsheet_import_script_key = aws_s3_object.spreadsheet_import_script.key
1241+
identifier_prefix = local.short_identifier_prefix
1242+
lambda_artefact_storage_bucket = module.lambda_artefact_storage_data_source.bucket_id
1243+
landing_zone_bucket_id = module.landing_zone_data_source.bucket_id
1244+
landing_zone_kms_key_arn = module.landing_zone_data_source.kms_key_arn
1245+
landing_zone_bucket_arn = module.landing_zone_data_source.bucket_arn
1246+
google_drive_document_id = "1JzO8Onp6oSSnyiNQ2tyO271Oci7SugYr"
1247+
glue_job_name = "ops_dashboard_link"
1248+
output_folder_name = "g-drive"
1249+
raw_zone_bucket_id = module.raw_zone_data_source.bucket_id
1250+
input_file_name = "ops_button/ops_dashboard_link.csv"
1251+
ingestion_schedule = "cron(0 21 * * ? *)"
1252+
enable_bookmarking = true
1253+
tags = module.tags.values
1254+
worksheets = {
1255+
sheet1 : {
1256+
header_row_number = 0
1257+
worksheet_name = "ops_dashboard_link"
1258+
}
1259+
}
1260+
}

0 commit comments

Comments
 (0)