Skip to content

Commit ec33c91

Browse files
committed
fix permissions issues
1 parent cd928fa commit ec33c91

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

segment-detection-workflow/template.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Resources:
1010
DefinitionUri: statemachine/statemachine.asl.json
1111
DefinitionSubstitutions:
1212
AWS_ACCOUNT_ID: !Ref AWS::AccountId
13-
MEDIACONVERT_ROLE : !Ref MediaConvertRole
13+
MEDIACONVERT_ROLE : !GetAtt MediaConvertRole.Arn
1414
REGION: !Ref AWS::Region
1515
Policies:
1616
- Version: "2012-10-17"
@@ -64,7 +64,13 @@ Resources:
6464
"s3:List*",
6565
"s3:Put*"
6666
]
67-
Resource: !GetAtt S3Bucket.Arn
67+
Resource:
68+
- !GetAtt S3Bucket.Arn
69+
- !Join
70+
- ''
71+
- - !GetAtt S3Bucket.Arn
72+
- '/*'
73+
6874

6975

7076
Outputs:

0 commit comments

Comments
 (0)