Skip to content

Commit c95cab2

Browse files
authored
Merge pull request #2184 from LBHackney-IT/di-543-govnotify-ingestion-for-customer-services
Add tags to resources and adjust table level config.
2 parents 1659e76 + e084f52 commit c95cab2

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

terraform/etl/44-aws-glue-job-bens-housing-needs.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@ module "housing_register_to_refined_and_trusted" {
3232
}
3333
script_name = "housing_register_to_refined_and_trusted"
3434
triggered_by_crawler = data.aws_ssm_parameter.copy_mtfh_reshape_to_refined_crawler_for_HR.value
35+
tags = module.tags.values
3536
}

terraform/etl/49-lambda-gov-notify-ingestion-housing-lbh-communal-repairs.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ module "gov-notify-ingestion-housing-communal-repairs" {
5757
}
5858

5959
resource "aws_cloudwatch_event_rule" "govnotify_housing_lbh_communal_repairs_trigger_event" {
60-
count = local.create_govnotify_resource_count
61-
name = "${local.short_identifier_prefix}govnotify_housing_lbh_communal_repairs_trigger_event"
62-
description = "Trigger event for Housing LBH Communal Repairs GovNotify API ingestion"
60+
count = local.create_govnotify_resource_count
61+
name = "${local.short_identifier_prefix}govnotify_housing_lbh_communal_repairs_trigger_event"
62+
description = "Trigger event for Housing LBH Communal Repairs GovNotify API ingestion"
63+
tags = module.tags.values
6364
schedule_expression = "cron(0 0 * * ? *)"
6465
is_enabled = local.is_production_environment ? true : false
65-
tags = module.tags.values
6666
}
6767

6868
resource "aws_lambda_permission" "allow_cloudwatch_to_call_govnotify_housing_lbh_communal_repairs" {
@@ -124,7 +124,7 @@ resource "aws_glue_crawler" "govnotify_housing_lbh_communal_repairs_raw_zone" {
124124
configuration = jsonencode({
125125
Version = 1.0
126126
Grouping = {
127-
TableLevelConfiguration = 4
127+
TableLevelConfiguration = 5
128128
}
129129
})
130130
}

0 commit comments

Comments
 (0)