We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e95c24c commit bac60a8Copy full SHA for bac60a8
spire/templates/apps/dovetail-counts.yml
@@ -92,16 +92,13 @@ Resources:
92
Stream: !Ref OldDovetailCdnLogsKinesisStreamArn
93
Type: Kinesis
94
CountsBytesKinesisStreamTrigger:
95
- Fn::If:
96
- - IsProduction
97
- - !Ref AWS::NoValue
98
- - Type: Kinesis
99
- Properties:
100
- BatchSize: 100
101
- BisectBatchOnFunctionError: true
102
- Enabled: true
103
- StartingPosition: LATEST
104
- Stream: !Ref DovetailCdnLogsKinesisStreamArn
+ Properties:
+ BatchSize: 100
+ BisectBatchOnFunctionError: true
+ Enabled: !If [IsProduction, false, true]
+ StartingPosition: LATEST
+ Stream: !Ref DovetailCdnLogsKinesisStreamArn
+ Type: Kinesis
105
Handler: index.handler
106
Layers:
107
0 commit comments