boundless-petabyte-41580
04/24/2024, 4:41 PMboundless-petabyte-41580
04/25/2024, 1:22 PMboundless-petabyte-41580
04/25/2024, 1:24 PMquaint-spring-93350
04/25/2024, 3:03 PMp""
interpolator).
We're waiting for changes in core pulumi that will merge things like crd2pulumi and tf2pulumi into a common pipeline that each language codegen would implement a backend for but as far as I know that's not done yet. Separate tool to generate CRD/CR classes probably could also be done with overlays but that would probably be a temporary solution given the aforementioned changes.quaint-spring-93350
04/25/2024, 3:05 PMboundless-petabyte-41580
04/25/2024, 3:08 PMquaint-spring-93350
04/25/2024, 3:13 PMderives YamlCodec
from scala-yaml
and push that to ConfigGroup mentioned above but the pickle is that you only get plain case classes when you do this so if you want to provide some of the information for those classes not in literal form but as Output[A]
you have to, basically, construct a for comprehension in which you extract all data from outputs and then in yield segment create instances of said case classes and convert them to yaml string yielding you an Output[String]
that you can put into ConfigGroupArgs
quaint-spring-93350
04/25/2024, 3:14 PMquaint-spring-93350
04/25/2024, 3:17 PMboundless-petabyte-41580
04/25/2024, 3:35 PMquaint-spring-93350
04/25/2024, 3:41 PM