mirror of
https://github.com/Sea-Haven-Industries/seahaven-org-baseline.git
synced 2026-09-30 08:03:19 +00:00
Merge pull request #112 from Sea-Haven-Industries/fix/site-plan-describe-function
fix(iam): allow site plan role to describe CF function (PLAT-106)
This commit is contained in:
commit
14bcbc8384
1 changed files with 8 additions and 0 deletions
|
|
@ -1472,6 +1472,14 @@ Resources:
|
|||
- cloudfront:Get*
|
||||
- cloudfront:List*
|
||||
Resource: "*"
|
||||
# aws_cloudfront_function refresh reads DEVELOPMENT via
|
||||
# DescribeFunction. Get* does not cover that API (PLAT-106).
|
||||
- Sid: RefreshCloudFrontFunction
|
||||
Effect: Allow
|
||||
Action:
|
||||
- cloudfront:DescribeFunction
|
||||
Resource:
|
||||
- !Sub "arn:aws:cloudfront::${AWS::AccountId}:function/seahaven-site-prod-directory-index"
|
||||
- Sid: RefreshAcm
|
||||
Effect: Allow
|
||||
Action:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue