title: Error: Apply not allowed for workspaces with a VCS connection
body: <pre><code>Error: Apply not allowed for workspaces with a VCS connection
  </code></pre>
  <p>I am getting this error when trying to apply a terraform plan via Github Actions.</p>
  <p><strong>Github Action (terraform apply)</strong></p>
  <pre><code>- name: Terraform Apply Dev
    id: apply_dev
    if: github.ref == 'refs/heads/master' &amp;&amp; github.event_name == 'push'
    run: TF_WORKSPACE=dev terraform apply -auto-approve deployment/
  </code></pre>
  <p><strong>Terraform workspace</strong>
  The workspace was created on Terraform Cloud as a <code>Version control workflow</code> and is called <code>app-infra-dev</code></p>
  <p><strong>Terraform backend</strong></p>
  <pre><code># The configuration for the `remote` backend.
  terraform {
    backend &quot;remote&quot; {
      hostname = &quot;app.terraform.io&quot;
      organization = &quot;my-org-name&quot;
      workspaces {
        prefix = &quot;app-infra-&quot;
      }
    }
  } 
  </code></pre>
  <p>So because I called my workspace <code>app-infra-dev</code>, my workspace prefix in the backend file is <code>app-infra-</code> and <code>TF_WORKSPACE=dev</code> is set in my GH Action. I would have hoped that would have been enough to make it work.</p>
  <p>Thanks for any help!</p>