title: 'terraform plan' NOT updating state file
body: <p>Tried the following:</p>
  <p>Resource creation(ec2) using terraform&gt;&gt;manually edit a resource(changed type) from AWS console&gt;&gt;run 'terraform plan'&gt;&gt;shows changes required after doing 'terraform refresh' internally BUT state file is not getting updated?</p>
  <p>Looks like some bug.</p>
  <p>(article states refresh is done automatically, it should affect the state file?-
  <a href="https://www.terraform.io/docs/cli/commands/plan.html" rel="nofollow noreferrer">https://www.terraform.io/docs/cli/commands/plan.html</a>)</p>
  <p>I note that Manually running 'terraform refresh' updates the state file to reflect present state of infrastructure(which then would be compared with config file ie desired state).</p>
  <p>Regards.</p>
  <p>Aditya</p>