Skip to content

Commit 0fd5c9c

Browse files
Fix incorrectly named resources in example (#4208) (#2701)
Signed-off-by: Modular Magician <[email protected]>
1 parent 6e6db53 commit 0fd5c9c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.changelog/4208.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

website/docs/d/storage_project_service_account.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ resource "google_pubsub_topic_iam_binding" "binding" {
6262
data "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

0 commit comments

Comments
 (0)