I’d suggest giving
Pulumi AI a try and see if it can help generate some example Pulumi code for you. I don’t know if it would be able to help with unmarshalling the YAML, but a quick web search should turn up some articles that will be helpful. I apologize, but I don’t have the capacity to write any code for you at this time. However, feel free to continue to post questions in this Slack community as you make progress with your code.