Skip to content

Commit 22ca9a8

Browse files
author
Bob Strahan
committed
Add permissions boundary support to Lambda functions
1 parent c7298d3 commit 22ca9a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

template.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3417,6 +3417,7 @@ Resources:
34173417
# checkov:skip=CKV_AWS_115: "Function does not require reserved concurrency as it scales based on demand"
34183418
# checkov:skip=CKV_AWS_173: "Environment variables do not contain sensitive data - only configuration values like feature flags and non-sensitive settings"
34193419
Properties:
3420+
PermissionsBoundary: !If [HasPermissionsBoundary, !Ref PermissionsBoundaryArn, !Ref AWS::NoValue]
34203421
CodeUri: src/lambda/analytics_request_handler/
34213422
Handler: index.handler
34223423
Runtime: python3.12
@@ -5693,6 +5694,7 @@ Resources:
56935694
# checkov:skip=CKV_AWS_115: "Function does not require reserved concurrency as it scales based on demand"
56945695
# checkov:skip=CKV_AWS_173: "Environment variables do not contain sensitive data - only configuration values like feature flags and non-sensitive settings"
56955696
Properties:
5697+
PermissionsBoundary: !If [HasPermissionsBoundary, !Ref PermissionsBoundaryArn, !Ref AWS::NoValue]
56965698
Handler: index.handler
56975699
Runtime: python3.13
56985700
CodeUri: ./src/lambda/chat_with_document_resolver

0 commit comments

Comments
 (0)