All Collections
Integrations
GCP
Connect a GCP account - get the list of resources
Connect a GCP account - get the list of resources

How to get the list of resources from GCP

Mohamed Labouardy avatar
Written by Mohamed Labouardy
Updated over a week ago

In this article, you'll learn how to link your GCP project to Tailwarden and view all your active GCP resources on a single dashboard.

Please note that you must follow the steps on this page to enable cost tracking.


To connect a GCP project, you first need to create a service-account on GCP.

So let's start on GCP by:

  • Step 1: access API and Services - credentials page

  • Step 2: create a service account. Two options here:

    • Recommended: Please provide this list of permissions to the service account:

      apigateway.apis.list 
      appengine.instances.list
      bigquery.datasets.get
      bigtable.instances.list
      storage.buckets.list
      dataflow.jobs.list
      cloudfunctions.functions.list
      iam.roles.list
      cloudkms.keyRings.list
      pubsub.topics.list
      compute.regions.list
      redis.instances.list
      run.services.list
      iam.serviceAccounts.list
      compute.snapshots.list
      cloudsql.instances.list
      compute.sslCertificates.list
      compute.instances.list
      bigquery.jobs.create
      artifactregistry.repositories.list
      container.clusters.list
      secretmanager.secrets.list

      The last permission "bigquery.jobs.create" will be used only if you want to see costs (see this page). In case you don't want to have costs enabled in Tailwarden, you don't need to have this permission added.

    • Not recommended: Select the role "Basic" - "Viewer" for this service account

  • Step 3: create a key for this service account and download it as a JSON

Now let's go back on Tailwarden

  • Step 4: connect your GCP project to Tailwarden

    • Account label: the label of your cloud account on Tailwarden

    • Service account key: the JSON you have downloaded in step 3

    • Billing Dataset: optional - we advised you to let this empty and set-up cost insights as mentioned here.

Congrats, your cloud account is connected! It might take a few minutes for Tailwarden to collect all the resources - you will be notified by email as soon as it's done. You can now jump in the inventory and start learning about your cloud infrastructure!

To enable team members to access data from a newly added cloud account, please follow the access guidelines provided on this page.

If you want to get granular insights on costs, there is an additionnal step to be done. Please refer to this page to learn more.


Ready to reclaim control of your cloud infrastructure? Connect with us to explore Tailwarden's capabilities and book a personalized demo.

Did this answer your question?