Skip to content

Commit 8c18463

Browse files
fix: Remove Hardcoded Bucket Name from EventBridge Example CloudFormation Template (#12609)
Co-authored-by: Michel Hollands <[email protected]>
1 parent fcb2b0a commit 8c18463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/lambda-promtail/template-eventbridge.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Resources:
8888
- Effect: Allow
8989
Action:
9090
- s3:GetObject
91-
Resource: arn:aws:s3:::thepalbi-lambda-lb-access-logs/*
91+
Resource: !Sub 'arn:aws:s3:::${EventSourceS3Bucket}/*'
9292
RoleName: iam_for_lambda
9393
LambdaPromtailFunction:
9494
Type: AWS::Lambda::Function

0 commit comments

Comments
 (0)