sparse-intern-71089
06/22/2021, 9:04 AMbillowy-army-68599
renderYamlToDirectory
on the provider:
https://www.pulumi.com/docs/reference/pkg/kubernetes/provider/#renderyamltodirectory_gogorgeous-country-43026
06/22/2021, 9:38 AMgorgeous-country-43026
06/22/2021, 9:38 AMOutput<string>
which I would prefer in this casegorgeous-country-43026
06/22/2021, 9:43 AMgorgeous-country-43026
06/22/2021, 9:49 AMgorgeous-country-43026
06/22/2021, 9:52 AM.apply
for the `Output`s I need...gorgeous-country-43026
06/22/2021, 9:52 AMstocky-spoon-28903
06/23/2021, 3:03 PMstocky-spoon-28903
06/23/2021, 3:03 PMgorgeous-country-43026
06/29/2021, 5:53 AMOutput
objects involved it isn't anymore. Let's assume I have a longish data structure with tens of Outputs. The only way I can think of that this could be done is to list all of the Outputs in pulumi.all
and then use that to apply the values at the same time and then return the result. To me this feels messy and hard to read. I would much prefer that I could just place the Output values directly into the data structure where they belong to and call a single function to evaluate it in such a way that all Outputs within it are realized. Then I could just serialize that to YAML without issuesgorgeous-country-43026
06/29/2021, 5:55 AMgorgeous-country-43026
06/29/2021, 5:56 AMstocky-spoon-28903
06/29/2021, 1:02 PMconst manifest = pulumi.output({
key: valueThatIsOutput,
nested: {
key2: âprompt valueâ,
key3: valueThatIsOutput
},
}).apply(JSON.stringify)
stocky-spoon-28903
06/29/2021, 1:03 PMgorgeous-country-43026
06/30/2021, 7:01 AMgorgeous-country-43026
06/30/2021, 7:02 AMgorgeous-country-43026
06/30/2021, 7:02 AM