Created
September 3, 2018 11:24
-
-
Save kalinchernev/80b13b2db17689eb2b3b5800bac011c2 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
iamRoleStatements: | |
... | |
# Allow running AWS Fargate containers when AWS Lambda timeout cannot be bypassed. | |
- Effect: 'Allow' | |
Action: | |
- ecs:RunTask | |
Resource: '*' | |
- Effect: Allow | |
Action: | |
- iam:PassRole | |
Resource: | |
Fn::Join: | |
- '' | |
- - 'arn:aws:iam::' | |
- Ref: 'AWS::AccountId' | |
- ':role/ecsTaskExecutionRole' | |
# ecsTaskExecutionRole is the name of the default role created by ECS, | |
... | |
# Allow queueing messages to the DLQ https://docs.aws.amazon.com/lambda/latest/dg/dlq.html | |
- Effect: 'Allow' | |
Action: | |
- sqs:SendMessage | |
Resource: '*' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment