mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-04-17 06:19:38 +02: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({
|
event_pattern = jsonencode({
|
||||||
"source" : ["aws.ec2"],
|
"source" : ["aws.ec2"],
|
||||||
"detail-type" : ["EC2 Spot Instance Interruption Warning"]
|
"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