---
title: GCP resources
description: Configure the GCP resources integration, which collects resource metadata to enrich logs, with the coralogix_integration Terraform resource and its parameters.
url: https://coralogix.com/docs/developer-portal/infrastructure-as-code/terraform-provider/integrations/gcp-resources/
product: ingress
feature: Logs Ingress
feature_id: logs.ingress
feature_identifier: ingress/logs.ingress
last_updated: '2026-11-02'
---

# GCP resources

## Overview

Collect details about several resources on Google Cloud Platform. Enrich your logs with the gathered metadata.

## How to use with Terraform

To deploy this integration using Terraform, you can use the [`coralogix_integration`](https://registry.terraform.io/providers/coralogix/coralogix/latest/docs/resources/integration) resource provided by the Coralogix Terraform provider. Below is an example configuration:

```
resource "coralogix_integration" "gcp-resources" {

  integration_key = "gcp-resources"

  version         = "0.0.1"



  parameters = {

    IntegrationName = "GcpResources"

    ServiceAccountKey = "<ServiceAccountKey>"

    OrganizationName = "<OrganizationName>"

    OrganizationId = 0

  }

}
```

Replace the placeholder values with your actual configuration parameters. Refer to the parameter table below for required fields and their descriptions.

## Revisions

0.0.1

| Name              | Type   | Required | Description                                                                                                                   |
| ----------------- | ------ | -------- | ----------------------------------------------------------------------------------------------------------------------------- |
| IntegrationName   | String | Yes      |                                                                                                                               |
| OrganizationId    | Number | Yes      | The id of the organization to be monitored. To be found in 'IAM & Admin' -> 'Settings' on Google Cloud.                       |
| OrganizationName  | String | Yes      | The name of the organization on Google Workspace to be monitored. To be found in 'IAM & Admin' -> 'Settings' on Google Cloud. |
| ServiceAccountKey | String | Yes      |                                                                                                                               |
