Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "lambda_alert_forwarding" {
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-lambda.zip"
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.29/terraform-lambda.zip"

function_name = "alert-forwarding"
description = "A function for formatting and sending Cloudwatch alerts to Teams"
Expand Down Expand Up @@ -33,6 +33,8 @@ module "lambda_alert_forwarding" {
force_lambda_code_deploy = var.force_lambda_code_deploy
enable_lambda_insights = false

send_to_firehose = false

lambda_env_vars = {
"TEAMS_WEBHOOK_CLOUDWATCH_SSM_PARAM" = aws_ssm_parameter.teams_webhook_url_cloudwatch_alarms.name,
"TEAMS_WEBHOOK_ALERTS_BACKUP_ERRORS_SSM_PARAM" = aws_ssm_parameter.teams_webhook_url_alerts_backup_errors.name
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "splunk_logs_formatter_lambda" {
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-lambda.zip"
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.29/terraform-lambda.zip"

function_name = "splunk-logs-formatter"
description = "A function for formatting logs for Splunk"
Expand Down Expand Up @@ -27,6 +27,8 @@ module "splunk_logs_formatter_lambda" {
memory = 128
timeout = 900

send_to_firehose = false

lambda_env_vars = {
ENVIRONMENT = var.environment
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "splunk_metrics_formatter_lambda" {
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-lambda.zip"
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.29/terraform-lambda.zip"

function_name = "splunk-metrics-formatter"
description = "A function for formatting metrics for Splunk"
Expand Down Expand Up @@ -27,6 +27,8 @@ module "splunk_metrics_formatter_lambda" {
memory = 512
timeout = 900

send_to_firehose = false

lambda_env_vars = {
ENVIRONMENT = var.environment
SPLUNK_CLOUDWATCH_SOURCETYPE = "aws:cloudwatch:metric"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "splunk_metrics_formatter_lambda_us" {
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-lambda.zip"
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.29/terraform-lambda.zip"

providers = {
aws = aws.us-east-1
Expand Down Expand Up @@ -31,6 +31,8 @@ module "splunk_metrics_formatter_lambda_us" {
memory = 512
timeout = 900

send_to_firehose = false

lambda_env_vars = {
ENVIRONMENT = var.environment
SPLUNK_CLOUDWATCH_SOURCETYPE = "aws:cloudwatch:metric"
Expand Down
Loading