a template for deployment of EC2 instance using terraform