Skip to content

Commit

Permalink
fix: allow github keys to get s3 object versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Akeboshiwind committed May 31, 2024
1 parent 2ec781b commit 60bbe3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloudformation/00-github-keys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ Resources:
- ssm:Get*
- ssm:List*
Resource: !Sub "arn:aws:ssm:${AWS::Region}:${AWS::AccountId}:parameter/xt-play_*"
- PolicyName: s3-upload
- PolicyName: s3
PolicyDocument:
Version: '2012-10-17'
Statement:
- Sid: RegisterTaskDefinition
Effect: Allow
- Effect: Allow
Action:
- s3:PutObject
- s3:GetObjectVersion
Resource:
- arn:aws:s3:::xt-play-lambda-code
- arn:aws:s3:::xt-play-lambda-code/*
Expand Down

0 comments on commit 60bbe3c

Please sign in to comment.