Message queuing is considered to be one of the integral parts of application management in the modern world. AWS provides a feature for this task called Simple Queue Service (SQS). In this recipe, we will learn how to configure SQS using Salt modules.
/opt/ salt-cookbook/production/aws/sqs.slsto have the following entries:
saltcookbookqueue: boto_sqs.present: - region: us-west-2 - keyid: <access-key> - key: '<secret-key>' - attributes: ReceiveMessageWaitTimeSeconds: 20
[root@salt-master aws]# salt 'salt-master' state.sls aws.sqs saltenv=production salt-master: ---------- ID: saltcookbookqueue Function: boto_sqs.present ...