add template_name as an attribute option.
specify a default template name in the resource and set provider to use supplied template_name if one is given.