From 6262e11a0a19a4285b715fb56b925f228317dab2 Mon Sep 17 00:00:00 2001 From: Braedon Leonard Date: Wed, 16 Oct 2024 13:55:08 -0400 Subject: [PATCH] fix(pulumi): stack not being selected before getting outputs when autoApply = false --- plugins/pulumi/src/handlers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/pulumi/src/handlers.ts b/plugins/pulumi/src/handlers.ts index d63666280a..305084b856 100644 --- a/plugins/pulumi/src/handlers.ts +++ b/plugins/pulumi/src/handlers.ts @@ -72,6 +72,7 @@ export const deployPulumi: DeployActionHandlers["deploy"] = async if (!autoApply && !deployFromPreview) { log.info(`${action.longDescription()} has autoApply = false, but no planPath was provided. Skipping deploy.`) + await selectStack(pulumiParams) return { state: "ready", outputs: await getStackOutputs(pulumiParams),