# 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:

```hcl
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      |                                                                                                                               |
