Open EronWright opened 5 months ago
A fix is under development in pu/pu for how resource reference outputs are handled: https://github.com/pulumi/pulumi/pull/15795/commits/8cd0a87cd7294ed10bc86112b29ea2a00451a1ed
Also a pulumi.json/#Resource
schema type will be introduced, such that the resources
output property have a pulumi.ResourceArrayOutput
type.
Once these are done, then we'll update the provider to use the Resource type: https://github.com/pulumi/pulumi-kubernetes/pull/2918
What happened?
I tried to write a Go SDK program that post-processes the resources produced by
yamlv2.ConfigGroup
. I found that the array elements aren't coercible topulumi.Resource
nor to*corev1.ConfigMap
(the concrete resource type).Example
Output of
pulumi about
Additional context
Root cause issue: https://github.com/pulumi/pulumi/issues/15788
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).