Merge pull request #112 from Sea-Haven-Industries/fix/site-plan-describe-function
Some checks are pending
Deploy / deploy-management (push) Waiting to run
Deploy / deploy-external-dev (push) Waiting to run
Deploy / deploy-security (push) Waiting to run
Deploy / deploy-dev (push) Waiting to run
Deploy / deploy-prod (push) Waiting to run

fix(iam): allow site plan role to describe CF function (PLAT-106)
This commit is contained in:
Adam Moussa 2026-08-20 15:58:21 -04:00 • committed by GitHub
commit 14bcbc8384
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: