-
-
Save thehelvetian/77d452fe717e5d706f7e89bce65fd48b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # That's all it takes to create a queue in CloudFormation | |
| # CloudFormation will assign a unique name to it, that we | |
| # will pass to our Laravel containers | |
| Queue: | |
| Type: AWS::SQS::Queue | |
| # Then in the web.yaml stack, we update our ECSRole to grant | |
| # our ECS instances access to this one queue we just created | |
| - PolicyName: sqs-read-write-access | |
| PolicyDocument: | |
| Statement: | |
| - Effect: Allow | |
| Action: | |
| - sqs:* | |
| Resource: !GetAtt Queue.Arn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment