Hey there is crossplane function called function-go-templating Link : https://github.com/crossplane-contrib/function-go-templating you could use this for looping , conditionals , its just like helm templates. Check out the examples in repository to know more