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
Expose LocalSerializer #11106
Expose LocalSerializer #11106
Conversation
**Use case:** I want to be able to deserialize a `Pulumi.stack.yml` file without using a `LocalWorkspace`, as that requires too much configuration and isn't very well-documented.
PR is now waiting for a maintainer to take action. Note for the maintainer: Commands available:
|
Changelog[uncommitted] (2022-10-31)Features
|
Hmmm, not sure how to run the changelog thing myself. Also curious as to why this is not done automatically by a CI/CD environment 🤔 |
Run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks reasonable, but out of interest why are you wanting to deserialize a Pulumi.stack.yml?
Do I need something installed for this? And can I run it on Windows? |
I'm using Pulumi to bootstrap an AWS environment for every pull request that's opened for my project, with a certain resource name suffix named after the branch. But when doing that, I want some additional settings that tell my Pulumi program to not include certain resources. So I essentially want a copy of my existing stack, but with some settings modified. And with Pulumi Automation, it's currently not possible to perform a copy operation etc. |
Should just need go and make. If it doesn't work just comment what you'd like it to say I can push a changelog commit for you.
Ah ok good context to know, I want to rework config manipulation from automation api at some point and I can keep that in mind. |
bors r+ |
11106: Expose LocalSerializer r=iwahbe a=ffMathy <!--- Thanks so much for your contribution! If this is your first time contributing, please ensure that you have read the [CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md) documentation. --> # Description **Use case:** I want to be able to deserialize a `Pulumi.stack.yml` file without using a `LocalWorkspace`, as that requires too much configuration and isn't very well-documented. ## Checklist <!--- Please provide details if the checkbox below is to be left unchecked. --> - [X] I have added tests that prove my fix is effective or that my feature works <!--- User-facing changes require a CHANGELOG entry. --> - [ ] I have run `make changelog` and committed the `changelog/pending/<file>` documenting my change <!-- If the change(s) in this PR is a modification of an existing call to the Pulumi Service, then the service should honor older versions of the CLI where this change would not exist. You must then bump the API version in /pkg/backend/httpstate/client/api.go, as well as add it to the service. --> - [ ] Yes, there are changes in this PR that warrants bumping the Pulumi Service API version <!-- `@Pulumi` employees: If yes, you must submit corresponding changes in the service repo. --> Co-authored-by: Mathias Lykkegaard Lorenzen <mathias.lorenzen@live.com> Co-authored-by: Ian Wahbe <ian@wahbe.com>
Build failed: |
bors retry |
Build succeeded: |
11106: Expose LocalSerializer r=iwahbe a=ffMathy <!--- Thanks so much for your contribution! If this is your first time contributing, please ensure that you have read the [CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md) documentation. --> # Description **Use case:** I want to be able to deserialize a `Pulumi.stack.yml` file without using a `LocalWorkspace`, as that requires too much configuration and isn't very well-documented. ## Checklist <!--- Please provide details if the checkbox below is to be left unchecked. --> - [X] I have added tests that prove my fix is effective or that my feature works <!--- User-facing changes require a CHANGELOG entry. --> - [ ] I have run `make changelog` and committed the `changelog/pending/<file>` documenting my change <!-- If the change(s) in this PR is a modification of an existing call to the Pulumi Service, then the service should honor older versions of the CLI where this change would not exist. You must then bump the API version in /pkg/backend/httpstate/client/api.go, as well as add it to the service. --> - [ ] Yes, there are changes in this PR that warrants bumping the Pulumi Service API version <!-- `@Pulumi` employees: If yes, you must submit corresponding changes in the service repo. --> Co-authored-by: Mathias Lykkegaard Lorenzen <mathias.lorenzen@live.com> Co-authored-by: Ian Wahbe <ian@wahbe.com>
Description
Use case: I want to be able to deserialize a
Pulumi.stack.yml
file without using aLocalWorkspace
, as that requires too much configuration and isn't very well-documented.Checklist
make changelog
and committed thechangelog/pending/<file>
documenting my change