pulumi/changelog/pending
bors[bot] 0e6b29168d
Merge #13462
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>
2023-07-17 18:04:41 +00:00
..
20230626--sdk-nodejs-python--support-explicit-providers-for-packaged-components.yaml Changelog 2023-07-13 07:17:41 -07:00
20230712--programgen--allow-binding-unsupported-range-and-collection-types-in-non-strict-mode-for-pulumi-convert.yaml Allow binding unsupported range and collection types in non-strict mode for pulumi convert 2023-07-12 19:13:57 +02:00
20230712--sdk-go-nodejs-python--add-support-for-reporting-resource-source-positions.yaml [sdk/*] Add support for resource source positions 2023-07-13 16:46:04 -07:00
20230713--cli-plugin--automatically-install-pulumiverse-provider-plugins-during-convert.yaml Fill in default plugin download URL before looking up version 2023-07-13 23:12:25 +01:00
20230713--engine--fix-alias-resoloution-when-parents-where-also-aliased.yaml Fix resoloution of aliased parent aliases. 2023-07-13 16:27:17 +01:00
20230713--programgen--consistently-use-non-strict-bind-options-when-applicable.yaml Consistently use the same non-strict bind options when applicable 2023-07-13 15:16:06 +02:00
20230713--programgen-go--fix-panic-in-generateproject-when-version-is-not-set-in-schema.yaml Fix panic in GenerateProject when version is not set in schema 2023-07-14 01:23:27 +02:00
20230713--sdk-python--move-some-global-state-to-context-state-for-parallel-updates.yaml Make pythons RPCManager a context variable 2023-07-13 09:59:12 +01:00
20230714--cli-state--adds-pulumi-state-edit-an-experimental-developer-utility-for-manually-editing-state-files.yaml Add `pulumi state edit` utility. 2023-07-17 09:47:05 -07:00
20230714--programgen--propagate-skiprangetypechecking-option-down-to-program-components.yaml Propagate SkipRangeTypechecking option down to program components 2023-07-14 19:00:38 +02:00