From: Justin Wind Date: Fri, 10 Mar 2017 17:44:46 +0000 (-0800) Subject: delete queue messages for which there was no playbook X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=93faadc586acb82d42c7af9ea12951074c33dd87;p=awsible delete queue messages for which there was no playbook --- diff --git a/sqs-action.py b/sqs-action.py index f092fd7..a71d01d 100755 --- a/sqs-action.py +++ b/sqs-action.py @@ -43,6 +43,7 @@ def handleEvent(message, event, ASGName, InstanceId): message.delete() else: notice += ['no action taken: no playbook for this ASG'] + message.delete() notify(notice[0], '\n'.join(notice))