Skip to content

Commit

Permalink
Use id for EkmConnection resource name
Browse files Browse the repository at this point in the history
  • Loading branch information
tdbhacks committed Mar 21, 2024
1 parent a5e1449 commit 3a1b5f2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ resource "google_kms_crypto_key" "crypto_key" {
labels = {
key = "value"
}
crypto_key_backend = "projects/%s/locations/us-central1/ekmConnections/%s"
crypto_key_backend = google_kms_ekm_connection.example-ekmconnection.id
skip_initial_version_creation = true
}
Expand All @@ -1167,5 +1167,5 @@ resource "google_kms_crypto_key_version" "crypto_key_version" {
ekm_connection_key_path = %s
}
}
`, projectId, projectId, projectOrg, projectBillingAccount, keyRingName, ekmConnectionName, cryptoKeyName, projectId, ekmConnectionName, keyPath)
`, projectId, projectId, projectOrg, projectBillingAccount, keyRingName, ekmConnectionName, cryptoKeyName, keyPath)
}

0 comments on commit 3a1b5f2

Please sign in to comment.