title: Google Cloud Platform Service Account is Unable to Access Project
body: <p>I encounter the following warning:</p>
  <blockquote>
  <p>WARNING: You do not appear to have access to project [$PROJECT] or it does not exist.</p>
  </blockquote>
  <p>after running the following commands locally:</p>
  <ol>
  <li><p>Activate and set a service account:</p>
  <pre class="lang-sh prettyprint-override"><code>gcloud auth activate-service-account \
  $SERVICE_ACCOUNT \
  --key-file=key.json
  
  #=&gt;
  
  Activated service account credentials for: [$SERVICE_ACCOUNT]
  </code></pre>
  </li>
  <li><p>Select <code>$PROJECT</code> as the above service account:</p>
  <pre class="lang-sh prettyprint-override"><code>gcloud config set project $PROJECT
  
  #=&gt;
  
  Updated property [core/project].
  WARNING: You do not appear to have access to project [$PROJECT] or it does not exist.
  </code></pre>
  </li>
  </ol>
  <p>My own GCP account is associated with the following roles:</p>
  <ul>
  <li>App Engine Admin</li>
  <li>Cloud Build Editor</li>
  <li>Cloud Scheduler Admin</li>
  <li>Storage Object Creator</li>
  <li>Storage Object Viewer</li>
  </ul>
  <p>Why is this service account unable to <code>set</code> <code>$PROJECT</code>?  Is there a role or permission I am missing?</p>