Skip to content

Commit

Permalink
use the log group for the lambda function (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhsinger-klotho authored Mar 1, 2023
1 parent 1d4951c commit 5985acf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/infra/pulumi_aws/deploylib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})

Expand Down

0 comments on commit 5985acf

Please sign in to comment.