diff --git a/lib/ansible/modules/cloud/amazon/sqs_queue.py b/lib/ansible/modules/cloud/amazon/sqs_queue.py index e25f0b58a7..e66d224b8d 100644 --- a/lib/ansible/modules/cloud/amazon/sqs_queue.py +++ b/lib/ansible/modules/cloud/amazon/sqs_queue.py @@ -233,7 +233,7 @@ def update_sqs_queue(queue, def set_queue_attribute(queue, attribute, value, check_mode=False): - if not value: + if not value and value != 0: return False try: