added import job support for kms module

This commit is contained in:
Chaitanya Malpe
2023-10-26 18:12:58 +05:30
parent 062ef1ba60
commit c2380a88fa
4 changed files with 55 additions and 7 deletions

View File

@@ -53,3 +53,10 @@ resource "google_kms_crypto_key" "default" {
}
}
}
resource "google_kms_key_ring_import_job" "default" {
key_ring = local.keyring.id
import_job_id = var.import_job.id
import_method = var.import_job.import_method
protection_level = var.import_job.protection_level
}