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

[Feature] Support for displaying Pulumi stack #355

Open
scottslowe opened this issue May 3, 2022 · 1 comment
Open

[Feature] Support for displaying Pulumi stack #355

scottslowe opened this issue May 3, 2022 · 1 comment

Comments

@scottslowe
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I use Pulumi for infrastructure-as-code use cases. Pulumi has the concept of multiple stacks (think of them as conceptually similar to Terraform workspaces). Aside from running pulumi stack ls, there's no easy/straightforward way to tell which stack is active.

Describe the solution you'd like
It would be ideal to have powerline-go display the currently-active Pulumi stack when in a directory where a Pulumi project exists. This would be similar to the way that powerline-go can display the active Terraform workspace.

Describe alternatives you've considered
I use powerline-go on all the systems where I code in/use Pulumi. I don't think there are any other alternatives out there to display the currently-selected Pulumi stack in the shell prompt (not that I've found, anyway).

Additional context
N/A

@scottslowe
Copy link
Contributor Author

@justjanne I have a draft implementation that I can submit as a WIP PR, if you're interested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant