pulumi/changelog/pending
bors[bot] 4f19856d2e
Merge #12034
12034: sdk/go/StackReference: Add GetOutputDetails r=abhinav a=abhinav

Outputs received from StackReferences are currently
unnecessarily wrapped in `Output<T>`.
If the name is known (`string`, not `Input<string>`),
these values are largely fixed and "known" at runtime.

This change introduces a
StackReference.GetOutputDetails method to Go
and a StackReference.get_output_details method to Python.
This method returns a plain OutputDetails object.
This object has two fields: value and secretValue.
At most one of these fields is set,
depending on whether the stack reference output is a secret.

Refs #10839, #5035

---

**Related**

- [ ] Python https://github.com/pulumi/pulumi/pull/12071
- [ ] Node https://github.com/pulumi/pulumi/pull/12072
- [ ] Equivalent change to Java SDK
- [ ] Equivalent change to DotNet SDK


Co-authored-by: Abhinav Gupta <abhinav@pulumi.com>
2023-02-09 16:17:36 +00:00
..
20230107--pkg--pkg-raise-go-directive-to-1-18.yaml go.mod: Raise to 'go 1.18' 2023-02-07 14:40:55 -08:00
20230107--sdk-go--sdk-raise-go-directive-to-1-18.yaml go.mod: Raise to 'go 1.18' 2023-02-07 14:40:55 -08:00
20230203--sdk-go--stackreference-getoutputdetails-go.yaml sdk/go/StackReference: Add GetOutputDetails 2023-02-03 16:45:21 -08:00
20230206--cli--fix-verbose-logging-to-filter-secrets.yaml Fix V logging to also filter out secrets 2023-02-07 22:22:22 +00:00
20230208--backend-filestate--pulumi-login-to-support-google-oauth-access-tokens-via-environment-variable.yaml updated changelog description 2023-02-07 20:45:46 -08:00
20230208--sdkgen-go--prevent-defaults-from-overriding-set-values.yaml Use `nil` checks when appropriate 2023-02-08 16:38:37 -08:00