From 5985acf7c98b11057c88d0cc160f6b5f3e41bbbc Mon Sep 17 00:00:00 2001 From: jhsinger-klotho <111291520+jhsinger-klotho@users.noreply.github.com> Date: Wed, 1 Mar 2023 11:33:54 -0500 Subject: [PATCH] use the log group for the lambda function (#301) --- pkg/infra/pulumi_aws/deploylib.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkg/infra/pulumi_aws/deploylib.ts b/pkg/infra/pulumi_aws/deploylib.ts index aefccea98..bba74cdd8 100755 --- a/pkg/infra/pulumi_aws/deploylib.ts +++ b/pkg/infra/pulumi_aws/deploylib.ts @@ -520,11 +520,8 @@ export class CloudCCLib { } } - const logGroupName = sanitized( - AwsSanitizer.CloudWatch.logGroup.nameValidation() - )`/aws/lambda/${lambdaName}-function-api-lg` let cloudwatchGroup = new aws.cloudwatch.LogGroup(`${execUnitName}-function-api-lg`, { - name: logGroupName, + name: pulumi.interpolate`/aws/lambda/${lambdaConfig.name}`, retentionInDays: 1, })