bitter-winter-22829
12/09/2022, 2:48 PMGOOGLE_CREDENTIALS
env variable, I am trying to use gcloud configurations. However, I realised that pulumi is not respecting the active configuration and using default credentials.
gcloud configurations looking like this:
➜ ~ gcloud config configurations list
NAME IS_ACTIVE ACCOUNT
default False ...
staging True staging..@...<http://iam.gserviceaccount.com|iam.gserviceaccount.com>
and i was expecting pulumi to use staging service account to communicate to the provider. Is it something possible?
ps. i disabled the default providers and using NewProvider method.great-sunset-355
12/12/2022, 12:23 PMgcloud auth application-default login
bitter-winter-22829
12/12/2022, 1:31 PMGOOGLE_APPLICATION_CREDENTIALS
right now according to the GCP docs, but I am looking for a way to handle it by switching between gcloud configurations.great-sunset-355
12/12/2022, 6:17 PMbitter-winter-22829
12/13/2022, 9:12 AM