Skip to content

Commit

Permalink
fix: Remove Hardcoded Bucket Name from EventBridge Example CloudForma…
Browse files Browse the repository at this point in the history
…tion Template (#12609)

Co-authored-by: Michel Hollands <42814411+MichelHollands@users.noreply.github.com>
  • Loading branch information
alanedwardes and MichelHollands committed Apr 19, 2024
1 parent fcb2b0a commit 8c18463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lambda-promtail/template-eventbridge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Resources:
- Effect: Allow
Action:
- s3:GetObject
Resource: arn:aws:s3:::thepalbi-lambda-lb-access-logs/*
Resource: !Sub 'arn:aws:s3:::${EventSourceS3Bucket}/*'
RoleName: iam_for_lambda
LambdaPromtailFunction:
Type: AWS::Lambda::Function
Expand Down

0 comments on commit 8c18463

Please sign in to comment.