Skip to content

Commit 70d80bc

Browse files
committed
CCM-9868: Adding subfilter to lambda module
1 parent ace1cbc commit 70d80bc

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

infrastructure/terraform/components/sandbox/module_backend_api.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ module "backend_api" {
2323

2424
kms_key_arn = data.aws_kms_key.sandbox.arn
2525
dynamodb_kms_key_arn = data.aws_kms_key.sandbox.arn
26+
cloudwatch_log_destination_arn = "arn:aws:logs:${var.region}:${var.observability_account_id}:destination:nhs-notify-main-acct-firehose-logs"
27+
log_subscription_role_arn = local.acct.log_subscription_role_arn
2628
}

infrastructure/terraform/components/sandbox/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,8 @@ variable "letter_suppliers" {
8787
description = "Letter suppliers enabled in the environment"
8888
}
8989

90+
variable "observability_account_id" {
91+
type = string
92+
description = "The Observability Account ID that needs access"
93+
}
94+

0 commit comments

Comments
 (0)