fix: Remove Hardcoded Bucket Name from EventBridge Example CloudFormation Template (#12609)

Co-authored-by: Michel Hollands <42814411+MichelHollands@users.noreply.github.com>
pull/12605/head^2
Alan Edwardes 1 year ago committed by GitHub
parent fcb2b0a16a
commit 8c18463285
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      tools/lambda-promtail/template-eventbridge.yaml

@ -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

Loading…
Cancel
Save