title: Terraform Upgrade Providers
body: <p>In an existing Terraform directory:</p>
  
  <pre><code>~ terraform version  
  Terraform v0.11.11
  + provider.aws v1.51.0
  </code></pre>
  
  <p>If I setup a new Terraform directory:</p>
  
  <pre><code>~ terraform version
  Terraform v0.11.11
  + provider.aws v1.55.0
  </code></pre>
  
  <p>How do I upgrade my <code>provider.aws</code>? If I set <code>version = "~&gt; 1.55.0"</code> in the <code>provider "aws"</code> in my <code>.tf</code> file, I get an error:</p>
  
  <pre><code>* provider.aws: no suitable version installed
    version requirements: "~&gt; 1.55.0"
    versions installed: "1.51.0"
  </code></pre>
  
  <p>I expected to find a <code>terraform update</code> command or something similar. But I can't find that.</p>
  
  <p>Am I not supposed to upgrade the provider? Do I need to delete state, rerun <code>init</code> and then <code>refresh</code>? Or is there a better way?</p>