Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Commit 0bddab3

Browse files
authored
Added iam:passedtoservice condition key and tested out the change. Fi… (#109)
* Added iam:passedtoservice condition key and tested out the change. Filesystem lambdas are still working. * Forgot to remove extra string equals
1 parent ac51db3 commit 0bddab3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

deployment/efs-file-manager.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,14 @@ Resources:
7878
- "arn:aws:elasticfilesystem:*:*:file-system/*"
7979
- "arn:aws:elasticfilesystem:*:*:access-point/*"
8080
- "arn:aws:elasticfilesystem:*:*:*"
81-
# TODO: Add iam:passedtoservice condition key
8281
- Effect: Allow
8382
Action:
8483
- "iam:PassRole"
8584
Resource:
8685
- "arn:aws:iam::*:role/fs-*"
87-
86+
Condition:
87+
StringEquals:
88+
iam:PassedToService: lambda.amazonaws.com
8889

8990
# File Manager API stack
9091
EFSFileManagerAPI:

0 commit comments

Comments
 (0)