From ce2f0c65c0f5a475109e6b72a081ca7c189b7c44 Mon Sep 17 00:00:00 2001 From: Piers Karsenbarg Date: Wed, 31 Jul 2024 17:09:43 +0100 Subject: [PATCH] Again, trying to fix linting --- aws-ts-multi-language-lambda/index.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/aws-ts-multi-language-lambda/index.ts b/aws-ts-multi-language-lambda/index.ts index bb8ee34f6..75c34c777 100644 --- a/aws-ts-multi-language-lambda/index.ts +++ b/aws-ts-multi-language-lambda/index.ts @@ -1,15 +1,13 @@ // Copyright 2016-2024, Pulumi Corporation. All rights reserved. +import { lambdaSetup } from "./config"; import * as aws from "@pulumi/aws"; import * as dockerBuild from "@pulumi/docker-build"; -import { lambdaSetup } from "./config"; import * as pulumi from "@pulumi/pulumi"; export = async () => { const role = new aws.iam.Role("lambdarole", { - assumeRolePolicy: aws.iam.assumeRolePolicyForPrincipal( - aws.iam.Principals.LambdaPrincipal - ), + assumeRolePolicy: aws.iam.assumeRolePolicyForPrincipal(aws.iam.Principals.LambdaPrincipal), managedPolicyArns: [ aws.iam.ManagedPolicies.AWSLambdaBasicExecutionRole, ], @@ -47,9 +45,7 @@ export = async () => { { role: role.arn, code: new pulumi.asset.AssetArchive({ - ".": new pulumi.asset.FileArchive( - `./dist/${lambda.language}` - ), + ".": new pulumi.asset.FileArchive(`./dist/${lambda.language}`), }), runtime: lambda.runtime, handler: lambda.handler,