Create simple terraform code for aws

Job ID: 33291200

Budget: $30 – $250 USD

Hello
I need simple code in terraform which will create at AWS:
-vpc (with subnets, )
-ec2
-security groups
-routing tables
Need to have code ready to deploy (only vars should be added by me), vars: region, cidr, ec2 variables etc