pub fn validate_template_with_profile( template: &TemplateInput, profile: YamlProfile, ) -> BackendResult<()>