Skip to content

Commit 44f3d87

Browse files
authored
Update 08-google-sheets-imports.tf (#2035)
add unsubscribed_emails google worksheet
1 parent 98268eb commit 44f3d87

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -970,3 +970,25 @@ module "diplomatic_country_vrm_prefix_data_load" {
970970
google_sheet_import_schedule = "cron(0 4 ? * MON *)"
971971
spark_ui_output_storage_id = module.spark_ui_output_storage_data_source.bucket_id
972972
}
973+
974+
module "parking_cycle_hangar_unsubscribed_emails" {
975+
count = local.is_live_environment ? 1 : 0
976+
source = "../modules/google-sheets-glue-job"
977+
is_production_environment = local.is_production_environment
978+
identifier_prefix = local.short_identifier_prefix
979+
is_live_environment = local.is_live_environment
980+
glue_scripts_bucket_id = module.glue_scripts_data_source.bucket_id
981+
helper_module_key = data.aws_s3_object.helpers.key
982+
pydeequ_zip_key = data.aws_s3_object.pydeequ.key
983+
glue_catalog_database_name = module.department_parking_data_source.raw_zone_catalog_database_name
984+
glue_temp_storage_bucket_url = module.glue_temp_storage_data_source.bucket_url
985+
glue_crawler_excluded_blobs = local.glue_crawler_excluded_blobs
986+
google_sheets_import_script_key = aws_s3_object.google_sheets_import_script.key
987+
bucket_id = module.raw_zone_data_source.bucket_id
988+
google_sheets_document_id = "1I9OPrlWIpidOM1pnwcc8G6Xq86IJz_UcIia1u7zX6_A"
989+
google_sheets_worksheet_name = "Unsubscribed emails"
990+
department = module.department_parking_data_source
991+
dataset_name = "parking_cycle_hangar_unsubscribed_emails"
992+
google_sheet_import_schedule = "cron(0 4 ? * * *)"
993+
spark_ui_output_storage_id = module.spark_ui_output_storage_data_source.bucket_id
994+
}

0 commit comments

Comments
 (0)