Skip to content

Give feeder tasks access to the uploads bucket #824

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

Merged
merged 1 commit into from
Jul 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions spire/templates/apps/feeder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,26 @@ Resources:
Sid: AllowObjectActions
Version: "2012-10-17"
PolicyName: FeedsBucket
- PolicyDocument:
Statement:
- Action:
- s3:GetBucketAcl
- s3:GetBucketLocation
- s3:ListBucket
- s3:ListBucketMultipartUploads
Effect: Allow
Resource: !GetAtt FeederUploadsBucket.Arn
- Action:
- s3:AbortMultipartUpload
- s3:GetObject
- s3:GetObjectAcl
- s3:ListMultipartUploadParts
- s3:PutObject
- s3:PutObjectAcl
Effect: Allow
Resource: !Sub ${FeederUploadsBucket.Arn}/*
Version: "2012-10-17"
PolicyName: UploadsBucket
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
- { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
Expand Down