Created
December 11, 2017 20:37
-
-
Save li0nel/9eb5df83c90f09536e7fe629e138e516 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