Skip to content

Commit

Permalink
Fix client full example to use basename of kms config (#12418)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitjangid authored Dec 3, 2024
1 parent a323c5a commit 11a91a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 46 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,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
}
}

0 comments on commit 11a91a6

Please sign in to comment.