Is it possible to get the name of the google cloud...
# general
a
Is it possible to get the name of the google cloud project configured for the GCP provider? (In general terms: Can I get values from the provider?)
l
No. You have keep them in your own context / config object.
Provider objects are black boxes.
g
It should expose the
project
value when you create the Provider yourself. If you are using the default global provider it's properties are available on
gcp.config.*
a
What's the equivalent of that in C#?
g
There is a
Config.Project
Not sure how it would appear in your code (don't know C#, I just went to the same path as the others sdks)