mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-02-25 12:04:52 +01:00
chore: remove incorrect resource ARNs for cloudwatch event rule (#1854)
This commit is contained in:
@@ -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]
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user