Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pulumi): stack not being selected before getting outputs when autoApply = false #6554

Conversation

BraedonLeonard
Copy link
Contributor

What this PR does / why we need it:

When you set autoApply to false in a Pulumi deploy action, the correct stack hasn't been selected yet, so it'll pull outputs from whichever stack was last selected.

Special notes for your reviewer:

I don't know whether or not it's worth the effort right now, but I think it might be less error prone if you were able to set the stack with --stack on every pulumi command by having that set at the CliWrapper level somehow. This would also avoid the overhead of spinning up a pulumi process to change stacks.

@thsig thsig added this pull request to the merge queue Oct 22, 2024
Merged via the queue into garden-io:main with commit 8fd42f3 Oct 22, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants