title: Ec2 instance creation using terraform assigns public IP
body: <p>I am super new to terraform, I tried creating a ec2 instane, a elb and cname record using terraform. There is <code>main.tf</code> file with config supporting this and a seperate variable file. </p>
  
  <p>I haven't defined to create a public ip for ec2 instance anywhere in the config but it still creates one. Kindly advice how to prevent this.</p>