sparse-intern-71089
07/06/2020, 2:48 PMwhite-balloon-205
To be able to use it to create a Kubernetes ConfigMap, I need to have an OutputStateThis should not be the case. You should be able to use an Output as an input to a ConfigMap. In general, you shouldn’t need to work with OutputState directly unless you are building your own new kinds of Outputs. Could you share the ConfigMap code perhaps?
echoing-rain-5741
07/07/2020, 8:57 AMApplyT
, I understod that you can just cast the return value to a corresponding “registered” type. In my case i was returning a pulumi.StringMap
, which apearantly doesn’t have a pulumi.StringMapOutput
registered as its output type. If I return a map[string]string
however, I’m able to cast the return value to a pulumi.StringMapOutput
which kubernetes.ConfigMapArgs
accepts. Is there any list of types with registered output types?lemon-agent-27707
07/07/2020, 2:06 PMlemon-agent-27707
07/07/2020, 2:07 PM