Retrieving the GCP project_id of a machine #1127
seemplybogo
started this conversation in
Ideas
Replies: 1 comment
-
@jshcodes :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello again:)
in continuation to this #1103
we're also trying to construct the GCP resource id for machine instances coming from Spotlight,
but we're missing the
project id
(a unique string that is also a part of the GCP resource id).there's a
service_provider_account_id
under device_info, but that's numeric and looks like the gcpproject number
instead,see here for reference.
https://cloud.google.com/resource-manager/docs/creating-managing-projects
having both of them would be nice (the project "name" would be a great bonus) but the project ID is the most critical one so we're able to construct the resource id with this format
//compute.googleapis.com/projects/PROJECT_ID/zones/ZONE/instances/INSTANCE_ID
is it possible to add this to the data?
Thanks again!
Daniel.
Beta Was this translation helpful? Give feedback.
All reactions