Skip to content

Commit 283d9b5

Browse files
committed
wip: lambda deployment
1 parent dc18022 commit 283d9b5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

deployment/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import * as pulumi from '@pulumi/pulumi';
22
import { deployApp } from './services/app';
3+
import { deployAWSArtifactsLambdaFunction } from './services/aws-artifacts-lambda-function';
34
import { deployCFBroker } from './services/cf-broker';
45
import { deployCFCDN } from './services/cf-cdn';
56
import { deployClickhouse } from './services/clickhouse';
@@ -89,6 +90,11 @@ const cdn = deployCFCDN({
8990
environment,
9091
});
9192

93+
const lambdaFunction = deployAWSArtifactsLambdaFunction({
94+
s3Mirror,
95+
environment,
96+
});
97+
9298
const broker = deployCFBroker({
9399
environment,
94100
sentry,
@@ -346,3 +352,4 @@ export const webhooksApiServiceId = webhooks.service.id;
346352
export const appId = app.deployment.id;
347353
export const otelCollectorId = otelCollector.deployment.id;
348354
export const publicIp = proxy.get()!.status.loadBalancer.ingress[0].ip;
355+
export const awsLambdaArtifactsFunctionUrl = lambdaFunction;

0 commit comments

Comments
 (0)