diff --git a/terraform/environments/ccms-ebs/ccms-lambda-certificate-monitor.tf b/terraform/environments/ccms-ebs/ccms-lambda-certificate-monitor.tf index 3aa63633b03..c6a38f0302a 100644 --- a/terraform/environments/ccms-ebs/ccms-lambda-certificate-monitor.tf +++ b/terraform/environments/ccms-ebs/ccms-lambda-certificate-monitor.tf @@ -94,8 +94,9 @@ resource "aws_lambda_function" "certificate_monitor" { environment { variables = { - EXPIRY_DAYS = local.application_data.accounts[local.environment].certificate_expiry_days - SNS_TOPIC_ARN = aws_sns_topic.certificate_expiration_alerts.arn + EXPIRY_DAYS = local.application_data.accounts[local.environment].certificate_expiry_days + SECURITY_HUB_REGION = "eu-west-2" + SNS_TOPIC_ARN = aws_sns_topic.certificate_expiration_alerts.arn } } tags = merge(local.tags, {