Skip to content

Commit

Permalink
fix(logwriter): remove conditional outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
jta committed Jun 21, 2024
1 parent 158123b commit 367f873
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions apps/logwriter/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -564,17 +564,23 @@ Outputs:
Description: >-
Subscriber Function ARN. This function is responsible for log group
discovery, filtering and subscription.
Condition: EnableSubscription
Value: !GetAtt Subscriber.Arn
Value: !If
- EnableSubscription
- !GetAtt Subscriber.Arn
- !Ref AWS::NoValue
SubscriberQueueArn:
Description: >-
Subscriber Queue ARN. This queue is used by the subscriber function to
fan out execution of subscription requests.
Condition: EnableSubscription
Value: !GetAtt Queue.Arn
Value: !If
- EnableSubscription
- !GetAtt Queue.Arn
- !Ref AWS::NoValue
SubscriberLogGroupName:
Description: >-
Subscriber Log Group Name. This log group contains useful information for
debugging the Subscriber function.
Condition: EnableSubscription
Value: !Ref SubscriberLogGroup
Value: !If
- EnableSubscription
- !Ref SubscriberLogGroup
- !Ref AWS::NoValue

0 comments on commit 367f873

Please sign in to comment.