Launch EC2 instance with EC2 template

I have created a template using launch_template and now I wanted to use that to launch EC2 instance. There is no option in aws_instance resource to give the template id as attribute to launch instance from. Please suggest !