Skip to content

Commit

Permalink
Again, trying to fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
pierskarsenbarg committed Jul 31, 2024
1 parent 5062d02 commit ce2f0c6
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions aws-ts-multi-language-lambda/index.ts
Original file line number Diff line number Diff line change
@@ -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,
],
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit ce2f0c6

Please sign in to comment.