Skip to content

Commit 2c4849e

Browse files
authored
chore: update fixture to use kms id (#1053)
* chore: update fixture to use kms id * fix op
1 parent d3ca023 commit 2c4849e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/fixtures/beta_cluster/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ resource "google_kms_key_ring" "db" {
2727

2828
resource "google_kms_crypto_key" "db" {
2929
name = local.name
30-
key_ring = google_kms_key_ring.db.self_link
30+
key_ring = google_kms_key_ring.db.id
3131
}
3232

3333
module "this" {
@@ -49,7 +49,7 @@ module "this" {
4949

5050
database_encryption = [{
5151
state = "ENCRYPTED"
52-
key_name = google_kms_crypto_key.db.self_link
52+
key_name = google_kms_crypto_key.db.id
5353
}]
5454

5555
cloudrun = true

test/fixtures/beta_cluster/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ output "service_account" {
8181
}
8282

8383
output "database_encryption_key_name" {
84-
value = google_kms_crypto_key.db.self_link
84+
value = google_kms_crypto_key.db.id
8585
}
8686

8787
output "identity_namespace" {

0 commit comments

Comments
 (0)