# Provision AWS infra using API

**URL:** <https://discuss.hashicorp.com/t/provision-aws-infra-using-api/15452>\
**Category:** Terraform\
**Created:** [October 12, 2020, 7:21pm UTC](https://discuss.hashicorp.com/t/provision-aws-infra-using-api/15452 "2020-10-12T19:21:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mww-77](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/mww-77/32/12518_2.png) [@mww-77](https://discuss.hashicorp.com/u/mww-77)\
**Post date:** [October 12, 2020, 7:21pm UTC](https://discuss.hashicorp.com/t/provision-aws-infra-using-api/15452/1 "2020-10-12T19:21:13Z")

</div>

Hi.  
is there any example or API to create the AWS infrastructure using Terraform API?  
for eg: I would like to create a EC2 instance on AWS using terraform programmatically and not from CLI from my local system.  
any leads are welcome.

thanks,
