Join Slack
Powered by
This message was deleted.
# contribute
s
sparse-intern-71089
06/21/2023, 4:26 PM
This message was deleted.
f
fresh-scientist-56300
06/21/2023, 4:55 PM
For ease of implementation and keeping all secondary files formatted the same, my thought is to start with Global referencing vs. relative.
b
big-architect-71258
06/21/2023, 8:46 PM
@fresh-scientist-56300
@quiet-wolf-18467
created a great blog article to use various other languages to create a single YAML input for Pulumi YAML from various code files utilizing the compiler property of a Pulumi.yaml file.
https://www.pulumi.com/blog/extending-pulumi-languages-with-yaml-cue-jsonnet-rust/
big-architect-71258
06/21/2023, 8:50 PM
To combine various YAML fragments into one single YAML file, which can be used as input for Pulumi YAML, I'd go for yq
https://github.com/mikefarah/yq
f
fresh-scientist-56300
06/21/2023, 8:51 PM
I did read that article, but I hadn't thought about
yq
as a compile option, that's a cool idea.
2
Views
Open in Slack
Previous
Next