Skip to content

Commit

Permalink
Fix CIDExecRole permissions to allow Athena table delete
Browse files Browse the repository at this point in the history
  • Loading branch information
petrokashlikov committed Nov 27, 2024
1 parent 748775f commit 9fb7890
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cfn-templates/cid-cfn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1450,6 +1450,11 @@ Resources:
- NeedDatabase
- !Sub arn:${AWS::Partition}:glue:${AWS::Region}:${AWS::AccountId}:table/${CidDatabase}/*
- !Sub arn:${AWS::Partition}:glue:${AWS::Region}:${AWS::AccountId}:table/${DatabaseName}/*
- Fn::If:
- NeedDatabase
- !Sub arn:${AWS::Partition}:glue:${AWS::Region}:${AWS::AccountId}:database/${CidDatabase}
- !Sub arn:${AWS::Partition}:glue:${AWS::Region}:${AWS::AccountId}:database/${DatabaseName}
- !Sub arn:${AWS::Partition}:glue:${AWS::Region}:${AWS::AccountId}:catalog
- Effect: Allow
Action:
- s3:CreateBucket
Expand Down

0 comments on commit 9fb7890

Please sign in to comment.