We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23ce6cc commit 056ef37Copy full SHA for 056ef37
infrastructure/virusscanner.tf
@@ -105,6 +105,7 @@ resource "aws_sns_topic_subscription" "proactive_virus_scanning_notifications" {
105
}
106
107
resource "aws_sns_topic_subscription" "virus_scanner_im_alerting" {
108
+ count = local.is_production ? 1 : 0
109
protocol = "lambda"
110
endpoint = module.im-alerting-lambda.lambda_arn
111
topic_arn = module.cloud_storage_security[0].proactive_notifications_topic_arn
0 commit comments