Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
Merge pull request #104 from tiki/release/fix-permissions
Browse files Browse the repository at this point in the history
fix: update permissions for new naming
  • Loading branch information
mike-audi authored Dec 13, 2023
2 parents 199a37b + 1812078 commit 7a43336
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions infra/role/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Resources:
- Effect: Allow
Action: cloudformation:*
Resource:
- !Sub arn:aws:cloudformation:${AWS::Region}:${AWS::AccountId}:stack/core-iceberg-utils-layer/*
- !Sub arn:aws:cloudformation:${AWS::Region}:${AWS::AccountId}:stack/core-ocean-iceberg-utils-layer/*
- arn:aws:cloudformation:us-east-2:aws:transform/Serverless-2016-10-31
- Effect: Allow
Action: cloudformation:ListStacks
Expand All @@ -54,10 +54,10 @@ Resources:
- lambda:GetLayerVersionPolicy
- lambda:AddLayerVersionPermission
- lambda:RemoveLayerVersionPermission
Resource: !Sub arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:layer:core-iceberg-utils:*
Resource: !Sub arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:layer:core-ocean-iceberg-utils:*
- Effect: Allow
Action: lambda:PublishLayerVersion
Resource: !Sub arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:layer:core-iceberg-utils
Resource: !Sub arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:layer:core-ocean-iceberg-utils
- Effect: Allow
Action:
- s3:PutObject
Expand Down

0 comments on commit 7a43336

Please sign in to comment.