When developing locally, we recommend that you install the Google Cloud SDK and then authorize access with a user account. Next, Pulumi requires default application credentials to interact with your Google Cloud resources, so run auth application-default login command to obtain those credentials:
$ gcloud auth application-default loginTo configure Pulumi to interact with your Google Cloud project, set it with the pulumi config command using the project's ID:
$ pulumi config set {{ $type }}:project your-gcp-project-idYou may also set your Google Cloud Project via environment variable (listed in order of precedence):
GOOGLE_PROJECTGOOGLE_CLOUD_PROJECTGCLOUD_PROJECTCLOUDSDK_CORE_PROJECT
$ export GOOGLE_PROJECT=your-gcp-project-id