Skip to content

Commit

Permalink
Merge pull request #101 from communitiesuk/s3_permissions
Browse files Browse the repository at this point in the history
Updating permissions
  • Loading branch information
aaronwilliamsv1 authored Dec 8, 2023
2 parents 576186a + b136d36 commit 6e00cf0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions apps/pre-award/copilot/environments/addons/form-uploads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,12 @@ Resources:
- s3:List*
- s3:Describe*
- s3:PutObject
- s3:PutObjectACL
- s3:DeleteObject
- s3:ReplicateObject
Resource: !Sub ${ FormUploadsBucket.Arn }
Resource:
- !Sub ${ FormUploadsBucket.Arn }
- !Sub ${ FormUploadsBucket.Arn }/*

Outputs:
FormUploadsName:
Expand All @@ -86,5 +90,7 @@ Outputs:
Export:
Name: !Sub ${App}-${Env}-FormUploadsBucketARN
FormsUploadBucketAccessPolicyArn:
Description: "The ARN of the Forms Upload bucket access policy"
Description: "The ARN of the Forms Upload bucket access policy to attach to the task role"
Value: !Ref FormsUploadBucketAccessPolicy
Export:
Name: !Sub ${App}-${Env}-FormsUploadBucketAccessPolicyArn

0 comments on commit 6e00cf0

Please sign in to comment.