mirror of https://github.com/pulumi/pulumi.git
0e6b29168d
13462: [internal] `pulumi state edit` utility r=dixler a=dixler <!--- 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 Fixes https://github.com/pulumi/pulumi/issues/13088 Adds `pulumi state edit` an experimental utility for manually editing pulumi stack state. The command mimics the `git commit` flow by opening the stack's state in the text editor specified by the EDITOR environment variable and then previews the file to be saved. Remaining work would be to make sure round-tripping unicode is preserved. There is a TODO comment near the Hidden argument to indicate the work left to be done before un-hiding the command. ## Checklist - [x] I have run `make tidy` to update any new dependencies - [x] I have run `make lint` to verify my code passes the lint check - [x] I have formatted my code using `gofumpt` <!--- 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. --> - [x] 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 Cloud, 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 Cloud API version <!-- `@Pulumi` employees: If yes, you must submit corresponding changes in the service repo. --> Co-authored-by: Kyle Dixler <kyle@pulumi.com> |
||
---|---|---|
.. | ||
20230626--sdk-nodejs-python--support-explicit-providers-for-packaged-components.yaml | ||
20230712--programgen--allow-binding-unsupported-range-and-collection-types-in-non-strict-mode-for-pulumi-convert.yaml | ||
20230712--sdk-go-nodejs-python--add-support-for-reporting-resource-source-positions.yaml | ||
20230713--cli-plugin--automatically-install-pulumiverse-provider-plugins-during-convert.yaml | ||
20230713--engine--fix-alias-resoloution-when-parents-where-also-aliased.yaml | ||
20230713--programgen--consistently-use-non-strict-bind-options-when-applicable.yaml | ||
20230713--programgen-go--fix-panic-in-generateproject-when-version-is-not-set-in-schema.yaml | ||
20230713--sdk-python--move-some-global-state-to-context-state-for-parallel-updates.yaml | ||
20230714--cli-state--adds-pulumi-state-edit-an-experimental-developer-utility-for-manually-editing-state-files.yaml | ||
20230714--programgen--propagate-skiprangetypechecking-option-down-to-program-components.yaml |