We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 874e3a0 + f9aed9c commit cc27405Copy full SHA for cc27405
handlers/other/ec2-cleanup.rb
@@ -215,7 +215,7 @@ def ec2_node_should_be_deleted?
215
# Return true is instance state and instance reason is valid
216
instance_states.include?(instance_state) && instance_reasons.include?(instance_state_reason)
217
end
218
- rescue Aws::EC2::Errors::InvalidInstanceIDNotFound
+ rescue Aws::EC2::Errors::InvalidInstanceIDNotFound, Aws::EC2::Errors::InvalidInstanceIDMalformed
219
true
220
221
0 commit comments