File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
infrastructure/stacks/api-layer Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -519,32 +519,3 @@ resource "aws_cloudwatch_metric_alarm" "splunk_backup_delivery_failure" {
519519 ManagedBy = " terraform"
520520 }
521521}
522-
523- resource "aws_cloudwatch_metric_alarm" "splunk_backup_objects_present" {
524- alarm_name = " SplunkBackupS3ObjectsPresent"
525- alarm_description = " Triggers if there are any objects in the backup S3 bucket, indicating a Firehose delivery failure to Splunk."
526-
527- namespace = " AWS/S3"
528- metric_name = " NumberOfObjects"
529- statistic = " Average"
530- period = 3600
531- evaluation_periods = 1
532- threshold = 0
533- comparison_operator = " GreaterThanThreshold"
534- treat_missing_data = " notBreaching"
535-
536- dimensions = {
537- BucketName = " ${ var . project_name } -${ var . environment } -eli-splunk"
538- StorageType = " AllStorageTypes"
539- }
540-
541- alarm_actions = [aws_sns_topic . cloudwatch_alarms . arn ]
542-
543- tags = {
544- Environment = var.environment
545- AlertType = " data-delivery-failure"
546- Service = " s3"
547- Severity = " high"
548- ManagedBy = " terraform"
549- }
550- }
You can’t perform that action at this time.
0 commit comments