ashish10alex / vscode-dataform-tools

Dataform tools - a vscode extension
https://marketplace.visualstudio.com/items?itemName=ashishalex.dataform-lsp-vscode
MIT License
20 stars 4 forks source link

Unable to detect a Project Id in the current environment. #21

Open floyergilmour opened 2 months ago

floyergilmour commented 2 months ago

Hi I'm getting this annoying error: How do I add a project ID in the current environment. How do I fix it?

image
ashish10alex commented 2 months ago

Hi @floyergilmour , looks like you are missing the step 2 of requirements which is setting up default application credentials for GCP.

You can follow the following guide to set it up. Once that is setup, the error should go away. You then can verify if you gcp project is correctly setup using

gcloud config get-value project

This will show you your current gcp project. Please let me know if this works for you