sparse-intern-71089
11/17/2021, 8:45 PMmillions-furniture-75402
11/17/2021, 8:52 PMnpm run build
and something like this in your plan:
const lambdaFunctionArgs = {
code: new pulumi.asset.FileArchive("./dist/app"),
memorySize: 128,
environment: {
variables: {
API_BASE_PATH: apiBasePath,
},
},
handler: "lambdaApiHandler.handler",
role: applicationRole.arn,
runtime: aws.lambda.NodeJS12dXRuntime,
};
const lambdaFunctionApi = new aws.lambda.Function(
`${appName}-api`,
lambdaFunctionArgs,
{ dependsOn: [applicationRole] },
);
magnificent-lifeguard-15082
11/18/2021, 7:58 AMmillions-furniture-75402
11/18/2021, 1:32 PMNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by