Skip to content

Commit

Permalink
chore: update fixture to use kms id (#1053)
Browse files Browse the repository at this point in the history
* chore: update fixture to use kms id

* fix op
  • Loading branch information
bharathkkb committed Nov 10, 2021
1 parent d3ca023 commit 2c4849e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/fixtures/beta_cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resource "google_kms_key_ring" "db" {

resource "google_kms_crypto_key" "db" {
name = local.name
key_ring = google_kms_key_ring.db.self_link
key_ring = google_kms_key_ring.db.id
}

module "this" {
Expand All @@ -49,7 +49,7 @@ module "this" {

database_encryption = [{
state = "ENCRYPTED"
key_name = google_kms_crypto_key.db.self_link
key_name = google_kms_crypto_key.db.id
}]

cloudrun = true
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/beta_cluster/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ output "service_account" {
}

output "database_encryption_key_name" {
value = google_kms_crypto_key.db.self_link
value = google_kms_crypto_key.db.id
}

output "identity_namespace" {
Expand Down

0 comments on commit 2c4849e

Please sign in to comment.