pulumi/sdk/go/common
bors[bot] 830cd60e87
Merge #12410
12410: Fix provider_server ID handling in Read r=t0yv0 a=t0yv0

<!--- 
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

<!--- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. -->

There seems to be an issue with provider_server ignoring the inner ID. In the case of importing random passwords, this leaks the secret password in plaintext into the state. 

See also: https://github.com/pulumi/pulumi-terraform-bridge/pull/882

Fixes # (issue)

## Checklist

<!--- Please provide details if the checkbox below is to be left unchecked. -->
- [ ] 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: Anton Tayanovskyy <anton@pulumi.com>
2023-03-10 17:51:13 +00:00
..
apitype all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
constant Send update metadata about update plans 2022-10-12 22:55:59 +01:00
diag all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
display Moving previewDigest to sdk/go/common/display, and exporting it. (#9886) 2022-06-27 09:08:06 -05:00
encoding all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
env Handle recursive types 2023-01-13 11:28:13 -08:00
resource Lint 2023-03-10 12:29:07 -05:00
testing all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
tokens all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
tools all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
util sdk/go/common/util cleanup 2023-03-10 08:49:00 +00:00
version move pkg/version -> sdk/go/common/version 2020-03-18 15:25:25 -07:00
workspace Add converter plugin 2023-03-09 22:16:21 +00:00