Skip to content

Commit

Permalink
update api id in cdk
Browse files Browse the repository at this point in the history
  • Loading branch information
zekehuntergreen committed Jan 22, 2024
1 parent 7f141b8 commit b3d691b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/cdk/lib/transcription-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export class TranscriptionService extends GuStack {
super(scope, id, props);

const APP_NAME = "transcription-service";
const apiId = `${APP_NAME}-${props.stage}`

new GuApiLambda(this, "transcription-service-api", {
fileName: "api.zip",
Expand All @@ -19,8 +20,8 @@ export class TranscriptionService extends GuStack {
},
app: APP_NAME,
api: {
id: "my-api",
description: "...",
id: apiId,
description: "API for transcription service frontend",
},
});
}
Expand Down

0 comments on commit b3d691b

Please sign in to comment.