google_integrations_client

Application Integration Client.

To get more information about Client, see:

Open in Cloud Shell

Example Usage - Integrations Client Basic

resource "google_integrations_client" "example" {
  location = "us-central1"
}
Open in Cloud Shell

Example Usage - Integrations Client Full

data "google_project" "test_project" {
}

resource "google_kms_key_ring" "keyring" {
  name     = "my-keyring"
  location = "us-east1"
}

resource "google_kms_crypto_key" "cryptokey" {
  name = "crypto-key-example"
  key_ring = google_kms_key_ring.keyring.id
  rotation_period = "7776000s"
}

resource "google_kms_crypto_key_version" "test_key" {
  crypto_key = google_kms_crypto_key.cryptokey.id
}

resource "google_service_account" "service_account" {
  account_id   = "service-account-id"
  display_name = "Service Account"
}

resource "google_integrations_client" "example" {
  location = "us-east1"
  create_sample_integrations = true
  run_as_service_account = google_service_account.service_account.email
  cloud_kms_config {
    kms_location = "us-east1"
    kms_ring = google_kms_key_ring.keyring.id
    key = google_kms_crypto_key.cryptokey.id
    key_version = google_kms_crypto_key_version.test_key.id
    kms_project_id = data.google_project.test_project.project_id
  }
}

Argument Reference

The following arguments are supported:


The cloud_kms_config block supports:

Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

Timeouts

This resource provides the following Timeouts configuration options:

Import

Client can be imported using any of these accepted formats:

In Terraform v1.5.0 and later, use an import block to import Client using one of the formats above. For example:

import {
  id = "projects/{{project}}/locations/{{location}}/clients"
  to = google_integrations_client.default
}

When using the terraform import command, Client can be imported using one of the formats above. For example:

$ terraform import google_integrations_client.default projects/{{project}}/locations/{{location}}/clients
$ terraform import google_integrations_client.default {{project}}/{{location}}
$ terraform import google_integrations_client.default {{location}}

User Project Overrides

This resource supports User Project Overrides.