New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connected dockerTask node stackery-video-to-thumb-task-def to S3 buck… #2

Merged
merged 1 commit into from Oct 11, 2018
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+21 −0
Diff settings

Always

Just for now

Connected dockerTask node stackery-video-to-thumb-task-def to S3 buck…

…et node rg-stackery-thumbnails
  • Loading branch information...
rupakg committed Oct 11, 2018
commit f5a704028c9ddf4fcbb01f733004f6f583397540
Copy path View file
@@ -37,6 +37,10 @@ Resources:
Value: test.png
- Name: POSITION_TIME_DURATION
Value: 00:01
- Name: BUCKET_NAME
Value: !Ref objectStore3B0DC7B6
- Name: BUCKET_ARN
Value: !GetAtt objectStore3B0DC7B6.Arn
Cpu: 256
ExecutionRoleArn: !GetAtt dockerTask4259BAF6ExecutionRole.Arn
Memory: 512
@@ -91,6 +95,23 @@ Resources:
Principal:
Service: ecs-tasks.amazonaws.com
Action: sts:AssumeRole
Policies:
- PolicyName: StackeryPolicy
PolicyDocument:
Version: 2012-10-17
Statement:
- Effect: Allow
Action:
- s3:GetObject
- s3:ListBucket
- s3:GetBucketLocation
- s3:GetObjectVersion
- s3:PutObject
- s3:GetLifecycleConfiguration
- s3:PutLifecycleConfiguration
Resource:
- !Sub arn:${AWS::Partition}:s3:::${objectStore3B0DC7B6}
- !Sub arn:${AWS::Partition}:s3:::${objectStore3B0DC7B6}/*
function17279F64:
Type: AWS::Serverless::Function
Properties:
ProTip! Use n and p to navigate between commits in a pull request.