Skip to content

Commit 39861bd

Browse files
committed
Remove TED data export
1 parent 5bbddb5 commit 39861bd

File tree

1 file changed

+0
-57
lines changed

1 file changed

+0
-57
lines changed

spire/templates/apps/dovetail-metrics-export.yml

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -182,63 +182,6 @@ Resources:
182182
Principal: events.amazonaws.com
183183
SourceArn: !GetAtt StagingSampleExport.Arn
184184

185-
TedNetworkExport:
186-
Type: AWS::Events::Rule
187-
Condition: EnableProductionRules
188-
Properties:
189-
Description: TED network data export
190-
RoleArn: !GetAtt RulesRole.Arn
191-
ScheduleExpression: cron(15 0 * * ? *) # 00:15 UTC every day
192-
State: DISABLED
193-
Targets:
194-
- Arn: !GetAtt ExportFunction.Arn
195-
Id: !Sub "${RootStackName}.Export.TEDNetwork"
196-
Input: |-
197-
{
198-
"PodcastIDs": [
199-
70,
200-
131,
201-
384,
202-
179,
203-
357,
204-
298,
205-
316,
206-
315,
207-
341,
208-
588,
209-
350,
210-
343,
211-
124,
212-
415,
213-
116,
214-
421,
215-
368,
216-
292,
217-
301,
218-
144,
219-
3228,
220-
3592,
221-
3591,
222-
6792
223-
],
224-
"ObjectPrefix": "TED/Network/",
225-
"Copies": [
226-
{
227-
"Mode": "AWS/S3",
228-
"BucketName": "ted-conferences-prx",
229-
"DestinationFormat": "prod/TED/Network/%TYPE/%RANGE_START_ISO-%RANGE_END_ISO/%REQUEST_TIME/%REQUEST_ID-%FILE_SEQ_ID.ndjson.gz"
230-
}
231-
]
232-
}
233-
TedNetworkExportInvokePermission:
234-
Condition: EnableProductionRules
235-
Type: AWS::Lambda::Permission
236-
Properties:
237-
Action: lambda:InvokeFunction
238-
FunctionName: !Ref ExportFunction
239-
Principal: events.amazonaws.com
240-
SourceArn: !GetAtt TedNetworkExport.Arn
241-
242185
CneNetworkExport:
243186
Type: AWS::Events::Rule
244187
Condition: EnableProductionRules

0 commit comments

Comments
 (0)