<p>I'm running this command to create a filestore in google cloud</p>
<pre><code>gcloud beta filestore instances create devopscube-nfs-server --location=us-central1-c --tier=STANDARD --file-share=name=devopscubefileserver,capacity=1TB --network=name=default,reserved-ip-range=10.0.0.0/29
</code></pre>
<p>I'm getting this error : -</p>
<pre><code>ERROR: (gcloud.beta.filestore.instances.create) Error parsing [instance].
The [instance] resource is not properly specified.
Failed to find attribute [project]. The attribute can be set in the following ways: 
- provide the argument [--project] on the command line
- set the property [core/project]
</code></pre>

Adarsha Jha
<p>The <code>--location</code> flag is deprecated. Use <code>--zone</code>.</p>
<p>You're not logged in to your google cloud account . To login run this command.</p>
<pre><code>gcloud auth login `your-gcloud-email'
</code></pre>
<p>After that connect to your project on which you are working. To set project in your terminal using gcloud, run this command :-</p>
<pre><code>gcloud config set project PROJECT-ID
</code></pre>
