From d8b3cca333a3228dd8bc012c73a81ff3ec762a65 Mon Sep 17 00:00:00 2001 From: Alain Krok Date: Thu, 14 Dec 2023 19:17:57 -0600 Subject: [PATCH] fix(lint): differentiate name --- src/patterns/gen-ai/aws-rag-appsync-stepfn-opensearch/index.ts | 2 +- src/patterns/gen-ai/aws-summarization-appsync-stepfn/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/patterns/gen-ai/aws-rag-appsync-stepfn-opensearch/index.ts b/src/patterns/gen-ai/aws-rag-appsync-stepfn-opensearch/index.ts index 2e4e7eeb..e89117a5 100644 --- a/src/patterns/gen-ai/aws-rag-appsync-stepfn-opensearch/index.ts +++ b/src/patterns/gen-ai/aws-rag-appsync-stepfn-opensearch/index.ts @@ -777,7 +777,7 @@ export class RagAppsyncStepfnOpensearch extends Construct { const nameParts: string[] = [ Stack.of(scope).stackName, // Name of the stack scope.node.id, // Construct ID - 'StateMachineLog', // Literal string for log group name portion + 'StateMachineLogRag', // Literal string for log group name portion ]; const logGroupName = generatePhysicalName(logGroupPrefix, nameParts, maxGeneratedNameLength); const ragLogGroup = new logs.LogGroup(this, 'ingestionStepFunctionLogGroup', { diff --git a/src/patterns/gen-ai/aws-summarization-appsync-stepfn/index.ts b/src/patterns/gen-ai/aws-summarization-appsync-stepfn/index.ts index 4b611ada..d01f8430 100644 --- a/src/patterns/gen-ai/aws-summarization-appsync-stepfn/index.ts +++ b/src/patterns/gen-ai/aws-summarization-appsync-stepfn/index.ts @@ -811,7 +811,7 @@ export class SummarizationAppsyncStepfn extends Construct { const nameParts: string[] = [ Stack.of(scope).stackName, // Name of the stack scope.node.id, // Construct ID - 'StateMachineLog', // Literal string for log group name portion + 'StateMachineLogSummarization', // Literal string for log group name portion ]; const logGroupName = generatePhysicalName(logGroupPrefix, nameParts, maxGeneratedNameLength); const summarizationLogGroup = new logs.LogGroup(this, 'summarizationLogGroup', {