Generic worker for SQS-Cloudformation messages