sparse-intern-71089
12/11/2019, 8:18 PMrhythmic-hair-33677
12/11/2019, 9:29 PMbig-piano-35669
rhythmic-hair-33677
12/11/2019, 11:30 PMbig-piano-35669
get
methods. (In hindsight, it's quite confusing and unfortunate that we named them both get
!)
1. A static get
method on all resource types that looks up a resource by ID and/or properties, but does not lead to Pulumi managing that resource
2. An instance get
method on all `Output<T>`s that is used to get the raw value of the property without needing an apply
(as you say, typically used with lambda closure capture)
Justin's question seems to be about (1). His scenario was actually an intended use case -- but we made it impossible by not letting you catch the errors 😕rhythmic-hair-33677
12/11/2019, 11:53 PMmicroscopic-florist-22719
microscopic-florist-22719
handsome-truck-95168
12/13/2019, 5:32 PM