removed unneeded variable

This commit is contained in:
Chaitanya Malpe
2023-10-26 20:23:06 +05:30
parent c83b6c229f
commit d9e09bb9c3
3 changed files with 15 additions and 22 deletions

View File

@@ -55,7 +55,7 @@ resource "google_kms_crypto_key" "default" {
}
resource "google_kms_key_ring_import_job" "default" {
count = var.import_job_create ? 1 : 0
count = var.import_job != null ? 1 : 0
key_ring = local.keyring.id
import_job_id = var.import_job.id
import_method = var.import_job.import_method