pulumi/changelog
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
..
pending Merge #12034 2023-02-09 16:17:36 +00:00
config.yaml Reorder scopes to be alphabetically ordered. 2022-11-10 16:54:37 -05:00