fix(iam): allow site plan role to describe CF function (PLAT-106)

This commit is contained in:
Adam Moussa 2026-08-20 15:22:09 -04:00
parent e2b4b635e3
commit 9bffddfd7b
No known key found for this signature in database

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: