Copy as Markdown[Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fdocs-docusaurus.kinsta.page%2Fdeveloper-portal%2Finfrastructure-as-code%2Fterraform-provider%2Fintegrations%2Fgcp-resources.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fdocs-docusaurus.kinsta.page%2Fdeveloper-portal%2Finfrastructure-as-code%2Fterraform-provider%2Fintegrations%2Fgcp-resources.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)

# GCP resources

## Overview[​](#overview "Direct link to Overview")

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

## How to use with Terraform[​](#how-to-use-with-terraform "Direct link to 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[​](#revisions "Direct link to 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      |                                                                                                                               |
