Skip to content

Commit 661b450

Browse files
author
Bob Strahan
committed
> Fix Lambda permission Principal to use Sub intrinsic function for proper URL suffix resolution
1 parent 8d56a8a commit 661b450

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7371,7 +7371,7 @@ Resources:
73717371
Properties:
73727372
FunctionName: !Ref TestSetZipExtractorFunction
73737373
Action: lambda:InvokeFunction
7374-
Principal: s3.${AWS::URLSuffix}
7374+
Principal: !Sub "s3.${AWS::URLSuffix}"
73757375
SourceArn: !GetAtt TestSetBucket.Arn
73767376

73777377
TestSetZipExtractorFunctionLogGroup:

0 commit comments

Comments
 (0)