From a4f9d47c9a649ebf8ea08f074142828bafeb64cb Mon Sep 17 00:00:00 2001 From: branberry Date: Tue, 7 May 2024 09:23:42 -0500 Subject: [PATCH] [DOP-4451]: Spread env vars for smoke test --- cdk-infra/lib/constructs/api/webhook-api-construct.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cdk-infra/lib/constructs/api/webhook-api-construct.ts b/cdk-infra/lib/constructs/api/webhook-api-construct.ts index 65186cfe5..ddfde537a 100644 --- a/cdk-infra/lib/constructs/api/webhook-api-construct.ts +++ b/cdk-infra/lib/constructs/api/webhook-api-construct.ts @@ -89,6 +89,7 @@ export class WebhookApiConstruct extends Construct { handler: 'triggerSmokeTestAutomatedBuild', bundling, environment: { + ...environment, TASK_DEFINITION: taskDefinition.taskDefinitionArn, SUBNETS: JSON.stringify(vpc.privateSubnets.map((subnet) => subnet.subnetId)), CLUSTER: clusterName,