You can use CUE with the Pulumi `runtime: compiler: ...`
https://www.pulumi.com/blog/extending-pulumi-languages-with-...
https://www.pulumi.com/docs/languages-sdks/yaml/#compiler-su...
https://www.pulumi.com/blog/extending-pulumi-languages-with-...
https://www.pulumi.com/docs/languages-sdks/yaml/#compiler-su...
cheers!