Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions packages/pluto-infra/src/aws/function.lambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,15 +200,6 @@ export class Lambda extends pulumi.ComponentResource implements IResourceInfra,
return object.key;
}

const kms = new aws.kms.Key(
this.lambdaName,
{
description: `KMS key for ${this.lambdaName} lambda function`,
enableKeyRotation: true,
},
{ parent: this }
);

return new aws.lambda.Function(
this.lambdaName,
{
Expand All @@ -222,7 +213,6 @@ export class Lambda extends pulumi.ComponentResource implements IResourceInfra,
environment: {
variables: envs,
},
kmsKeyArn: kms.arn,
timeout: 10 * 60,
},
{ parent: this }
Expand Down