From 67a29e28806048217c7345ed981fe0b6770cc1eb Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Tue, 3 Dec 2024 17:32:28 +0000 Subject: [PATCH] Fix client full example to use basename of kms config (#12418) [upstream:11a91a6dbbd6c953625db2ec46c6ba58defc6ee6] Signed-off-by: Modular Magician --- integrations_client_full/main.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 } }