Skip to content

Commit

Permalink
Fix client full example to use basename of kms config
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitjangid committed Nov 25, 2024
1 parent 7e4d09b commit 8a51e36
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ resource "google_integrations_client" "{{$.PrimaryResourceId}}" {
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
}
depends_on = [google_kms_crypto_key_version.test_key, google_service_account.service_account]
Expand Down

0 comments on commit 8a51e36

Please sign in to comment.