Blueprint Nested Go Templates

I was wondering how can I use nested templates in blueprints?

Error while creating Blueprint: template: infrastructure/terraform/main.tf.tmpl:16:11: executing "infrastructure/terraform/main.tf.tmpl" at <{{template "resource-group"
}}>: template "resource-group" not defined

How can I define a template in another file and then render it or include it in another template file?

resource-group.tmpl - define template
main.tf.tmpl - call the defined template (nested template)