diff --git a/integrations_client_full/main.tf b/integrations_client_full/main.tf index 29fdf182..228ff2ad 100644 --- a/integrations_client_full/main.tf +++ b/integrations_client_full/main.tf @@ -27,9 +27,9 @@ resource "google_integrations_client" "example" { 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_ring = basename(google_kms_key_ring.keyring.id) + key = basename(google_kms_crypto_key.cryptokey.id) + key_version = basename(google_kms_crypto_key_version.test_key.id) kms_project_id = data.google_project.test_project.project_id } }