Skip to content

Commit 05847d5

Browse files
committed
Remove some tags from resources.
1 parent a27fa2b commit 05847d5

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,12 @@ resource "aws_iam_policy" "gov_notify_housing_communal_repairs_lambda_secret_acc
1919
count = local.create_govnotify_resource_count
2020
name = "gov_notify_housing_communal_repairs_lambda_secret_access"
2121
policy = data.aws_iam_policy_document.gov_notify_housing_communal_repairs_lambda_secret_access.json
22-
tags = module.tags.values
2322
}
2423

2524
resource "aws_iam_role_policy_attachment" "gov_notify_housing_communal_repairs_lambda_secret_access" {
2625
count = local.create_govnotify_resource_count
2726
role = aws_iam_role.housing_gov_notify_ingestion[0].name
2827
policy_arn = aws_iam_policy.gov_notify_housing_communal_repairs_lambda_secret_access[0].arn
29-
tags = module.tags.values
3028
}
3129

3230
module "gov-notify-ingestion-housing-communal-repairs" {
@@ -59,12 +57,12 @@ module "gov-notify-ingestion-housing-communal-repairs" {
5957
}
6058

6159
resource "aws_cloudwatch_event_rule" "govnotify_housing_lbh_communal_repairs_trigger_event" {
62-
count = local.create_govnotify_resource_count
63-
name = "${local.short_identifier_prefix}govnotify_housing_lbh_communal_repairs_trigger_event"
64-
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
6564
schedule_expression = "cron(0 0 * * ? *)"
6665
is_enabled = local.is_production_environment ? true : false
67-
tags = module.tags.values
6866
}
6967

7068
resource "aws_lambda_permission" "allow_cloudwatch_to_call_govnotify_housing_lbh_communal_repairs" {
@@ -73,7 +71,6 @@ resource "aws_lambda_permission" "allow_cloudwatch_to_call_govnotify_housing_lbh
7371
function_name = module.gov-notify-ingestion-housing-communal-repairs[0].lambda_function_arn
7472
principal = "events.amazonaws.com"
7573
source_arn = aws_cloudwatch_event_rule.govnotify_housing_lbh_communal_repairs_trigger_event[0].arn
76-
tags = module.tags.values
7774
}
7875

7976
resource "aws_cloudwatch_event_target" "govnotify_housing_lbh_communal_repairs_trigger_event_target" {

0 commit comments

Comments
 (0)