Skip to content

Commit

Permalink
chore: upgrade to SLIC Watch 3
Browse files Browse the repository at this point in the history
  • Loading branch information
eoinsha committed Nov 2, 2023
1 parent aacfc36 commit 4a020fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ You will need the following build tooling installed.
- [AWS SAM](https://aws.amazon.com/serverless/sam/), used to build and deploy most of the application
- The [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)
- esbuild
- SLIC Watch: By default, the target AWS account should have the [SLIC Watch](https://github.com/fourTheorem/slic-watch) SAR Application installed. It can be installed by going to _[this page](https://serverlessrepo.aws.amazon.com/applications/eu-west-1/949339270388/slic-watch-app) in the AWS Console. SLIC Watch is used to create alarms and dashboards for our transcription application. If you want to skip this option, just remove the single line referring to the `SlicWatch-v2` macro from the relevant template, [transcript-orchestration/template.yaml](https://github.com/fourTheorem/podwhisperer/blob/cc73c5d4d52dc01f2249a032a9e2186012e24201/transcript-orchestration/template.yaml#L4).

By default, the target AWS account should have the [SLIC Watch](https://github.com/fourTheorem/slic-watch) SAR Application installed. It can be installed by going to _[this page](https://serverlessrepo.aws.amazon.com/applications/eu-west-1/949339270388/slic-watch-app) in the AWS Console. SLIC Watch is used to create alarms and dashboards for our transcription application. If you want to skip this option, just remove the single line referring to the `SlicWatch-v2` macro from the relevant template, [transcript-orchestration/template.yaml](https://github.com/fourTheorem/podwhisperer/blob/cc73c5d4d52dc01f2249a032a9e2186012e24201/transcript-orchestration/template.yaml#L4).

## Getting Started

Expand Down
12 changes: 7 additions & 5 deletions transcript-orchestration/template.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AWSTemplateFormatVersion: '2010-09-09'
Transform:
- AWS::Serverless-2016-10-31
- SlicWatch-v2
- SlicWatch-v3
Description: |
transcript-orchestration
Orchestration of Whisper and Polly transcripts
Expand All @@ -24,6 +24,8 @@ Resources:
TranscriptionStateMachine:
Type: AWS::Serverless::StateMachine
Properties:
Tracing:
Enabled: true
DefinitionUri: statemachine/transcription-step-function.asl.json
DefinitionSubstitutions:
ManifestCreatorFunctionArn: !GetAtt ManifestCreatorFunction.Arn
Expand Down Expand Up @@ -111,7 +113,7 @@ Resources:
Properties:
CodeUri: .
Handler: app.handleEvent
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 900
Environment:
Variables:
Expand All @@ -131,7 +133,7 @@ Resources:
Properties:
CodeUri: .
Handler: app.handleEvent
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 900
Environment:
Variables:
Expand Down Expand Up @@ -162,7 +164,7 @@ Resources:
Layers:
- !GetAtt FfmpegLambdaLayer.Outputs.LayerVersion
Handler: app.handleEvent
Runtime: nodejs16.x
Runtime: nodejs18.x
MemorySize: 2048
Timeout: 600
Environment:
Expand All @@ -187,7 +189,7 @@ Resources:
Properties:
CodeUri: .
Handler: manifest-creator.handleEvent
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 60
Environment:
Variables:
Expand Down

0 comments on commit 4a020fa

Please sign in to comment.