Skip to content

Commit

Permalink
add right for cid lambda to create wg and a bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
iakov-aws committed Nov 12, 2023
1 parent b1fb4ad commit 81b74e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cfn-templates/cid-cfn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1210,6 +1210,8 @@ Resources:
- Effect: Allow
Action:
- athena:GetWorkGroup
- athena:CreateWorkGroup
- athena:UpdateWorkGroup
Resource:
Fn::If:
- NeedAthenaWorkgroup
Expand All @@ -1227,6 +1229,7 @@ Resources:
Resource: "*" # This is needed to allow Autodetect in CID-CMD
- Effect: Allow
Action:
- s3:CreateBucket
- s3:ListBucket
- s3:ListBucketMultipartUploads
- s3:ListMultipartUploadParts
Expand Down

0 comments on commit 81b74e0

Please sign in to comment.