chore: remove incorrect resource ARNs for cloudwatch event rule (#1854)

This commit is contained in:
Bryant Biggs
2022-02-08 14:17:25 -05:00
committed by GitHub
parent 43822aff06
commit 07841806a4

View File

@@ -270,7 +270,6 @@ resource "aws_cloudwatch_event_rule" "aws_node_termination_handler_spot" {
event_pattern = jsonencode({
"source" : ["aws.ec2"],
"detail-type" : ["EC2 Spot Instance Interruption Warning"]
"resources" : [for group in module.eks.self_managed_node_groups : group.autoscaling_group_arn]
})
}