Google-Native Setup

The Google-Native Provider needs to be configured with Google credentials before it can be used to create resources.

When developing locally, we recommend that you install the Google Cloud SDK and then authorize access with a user account.

If gcloud is not configured to interact with your Google Cloud project, set it with the config command using the project’s ID:

gcloud config set project <YOUR_GCP_PROJECT_ID>

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 login