Skip to content

Commit

Permalink
fix(pulumi): stack not being selected before getting outputs when aut…
Browse files Browse the repository at this point in the history
…oApply = false (#6554)
  • Loading branch information
BraedonLeonard authored Oct 22, 2024
1 parent 5a04f60 commit 8fd42f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/pulumi/src/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export const deployPulumi: DeployActionHandlers<PulumiDeploy>["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),
Expand Down

0 comments on commit 8fd42f3

Please sign in to comment.