# How do I create an aws\_launch\_template with instance attributes?

**URL:** <https://discuss.hashicorp.com/t/how-do-i-create-an-aws-launch-template-with-instance-attributes/38821>\
**Category:** AWS\
**Created:** [April 28, 2022, 12:50pm UTC](https://discuss.hashicorp.com/t/how-do-i-create-an-aws-launch-template-with-instance-attributes/38821 "2022-04-28T12:50:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndtreviv](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/ndtreviv/32/18011_2.png) [@ndtreviv](https://discuss.hashicorp.com/u/ndtreviv)\
**Post date:** [April 28, 2022, 12:50pm UTC](https://discuss.hashicorp.com/t/how-do-i-create-an-aws-launch-template-with-instance-attributes/38821/1 "2022-04-28T12:50:51Z")

</div>

I’m currently operating an ASG based on a launch template that uses instance type attributes to define what sort of instance types it will provision:

 ![Screenshot 2022-04-28 at 09.27.40](https://global.discourse-cdn.com/hashicorp/original/3X/8/6/86846b80c875435bc3a4c236a1643ff9916e2fa9.jpeg)

I want to replace it with a terraform created one. But I’m unsure from the docs how to do this.

Has anyone got an example they can point me to?  
Thanks!
