File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1+ ```release-note:none
2+
3+ ```
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ resource "google_pubsub_topic_iam_binding" "binding" {
6262data "google_storage_project_service_account" "gcs_account" {
6363}
6464
65- resource "google_crypto_key_iam_binding " "binding" {
65+ resource "google_kms_crypto_key_iam_binding " "binding" {
6666 crypto_key_id = "your-crypto-key-id"
6767 role = "roles/cloudkms.cryptoKeyEncrypterDecrypter"
6868
@@ -78,7 +78,7 @@ resource "google_storage_bucket" "bucket" {
7878
7979 # Ensure the KMS crypto-key IAM binding for the service account exists prior to the
8080 # bucket attempting to utilise the crypto-key.
81- depends_on = [google_crypto_key_iam_binding .binding]
81+ depends_on = [google_kms_crypto_key_iam_binding .binding]
8282}
8383```
8484
You can’t perform that action at this time.
0 commit comments