Skip to content

Commit

Permalink
Fix client full example to use basename of kms config (#12418) (#866)
Browse files Browse the repository at this point in the history
[upstream:11a91a6dbbd6c953625db2ec46c6ba58defc6ee6]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Dec 3, 2024
1 parent a845af0 commit df4e8ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integrations_client_full/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

0 comments on commit df4e8ab

Please sign in to comment.