Skip to content

Commit

Permalink
Added missing 'glue:DeleteResourcePolicy' to pivotRole in YAML and CDK (
Browse files Browse the repository at this point in the history
#334)

### Feature or Bugfix
- Bugfix

### Detail
- Added 'glue:DeleteResourcePolicy' in PivotRole stack (CloudFormation
YAML and CDK)

### Relates
- #317 

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
  • Loading branch information
dlpzx committed Mar 6, 2023
1 parent 6abb70a commit dd5baf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions deploy/pivot_role/pivotRole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ Resources:
Effect: Allow
Action:
- 'glue:PutResourcePolicy'
- 'glue:DeleteResourcePolicy'
- 'ram:Get*'
- 'ram:List*'
Resource: '*'
Expand Down
1 change: 1 addition & 0 deletions deploy/pivot_role/pivotRoleCDK/dataall_base_infra.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ def _create_dataall_policy1(self, env_resource_prefix: str) -> iam.ManagedPolicy
sid="RamRead", effect=iam.Effect.ALLOW,
actions=[
"glue:PutResourcePolicy",
"glue:DeleteResourcePolicy",
"ram:Get*",
"ram:List*"
],
Expand Down

0 comments on commit dd5baf9

Please sign in to comment.