File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ module "im-alerting-lambda" {
3939 ALARM_HISTORY_DYNAMODB_NAME = module.alarm_state_history_table.table_name
4040 SLACK_CHANNEL_ID = data.aws_ssm_parameter.slack_alerting_channel_id.value
4141 SLACK_BOT_TOKEN = data.aws_ssm_parameter.slack_alerting_bot_token.value
42- VIRUS_SCANNER_TOPIC_ARN = module.cloud_storage_security[0 ].proactive_notification_topic_arn
42+ VIRUS_SCANNER_TOPIC_ARN = local.is_production ? module.cloud_storage_security[0 ].proactive_notification_topic_arn : " "
4343 }
4444 is_gateway_integration_needed = false
4545 is_invoked_from_gateway = false
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ resource "aws_sns_topic_subscription" "virus_scanner_im_alerting" {
114114 })
115115}
116116
117- resource "aws_lambda_permission" "virsu_scanner_iam_alerting " {
117+ resource "aws_lambda_permission" "virus_scanner_im_alerting " {
118118 action = " lambda:InvokeFunction"
119119 function_name = module. im-alerting-lambda . lambda_arn
120120 principal = " sns.amzamonaws.com"
You can’t perform that action at this time.
0 commit comments